keycloak: schedule on arm64 workers

This commit is contained in:
Brad Stein 2026-01-14 13:49:37 -03:00
parent 6ba509dbe1
commit d559aeb464

View File

@ -51,17 +51,23 @@ spec:
spec:
serviceAccountName: sso-vault
nodeSelector:
kubernetes.io/arch: amd64
node-role.kubernetes.io/accelerator: "true"
kubernetes.io/arch: arm64
node-role.kubernetes.io/worker: "true"
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: kubernetes.io/hostname
- key: hardware
operator: In
values: ["titan-22"]
values: ["rpi5"]
- weight: 70
preference:
matchExpressions:
- key: hardware
operator: In
values: ["rpi4"]
securityContext:
runAsUser: 1000
runAsGroup: 0