keycloak: schedule on arm64 workers
This commit is contained in:
parent
6ba509dbe1
commit
d559aeb464
@ -51,17 +51,23 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
serviceAccountName: sso-vault
|
serviceAccountName: sso-vault
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/arch: amd64
|
kubernetes.io/arch: arm64
|
||||||
node-role.kubernetes.io/accelerator: "true"
|
node-role.kubernetes.io/worker: "true"
|
||||||
affinity:
|
affinity:
|
||||||
nodeAffinity:
|
nodeAffinity:
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
- weight: 100
|
- weight: 100
|
||||||
preference:
|
preference:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
- key: kubernetes.io/hostname
|
- key: hardware
|
||||||
operator: In
|
operator: In
|
||||||
values: ["titan-22"]
|
values: ["rpi5"]
|
||||||
|
- weight: 70
|
||||||
|
preference:
|
||||||
|
matchExpressions:
|
||||||
|
- key: hardware
|
||||||
|
operator: In
|
||||||
|
values: ["rpi4"]
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
runAsGroup: 0
|
runAsGroup: 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user