keycloak: pin realm job to rpi nodes
This commit is contained in:
parent
7e464d3ec8
commit
2ef3b7d45c
@ -2,12 +2,22 @@
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: keycloak-realm-settings-1
|
||||
name: keycloak-realm-settings-2
|
||||
namespace: sso
|
||||
spec:
|
||||
backoffLimit: 2
|
||||
template:
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: hardware
|
||||
operator: In
|
||||
values: ["rpi5","rpi4"]
|
||||
- key: node-role.kubernetes.io/worker
|
||||
operator: Exists
|
||||
restartPolicy: OnFailure
|
||||
containers:
|
||||
- name: configure
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user