core: pin coredns to rpi workers
This commit is contained in:
parent
b576da53c2
commit
758610dff0
@ -81,6 +81,20 @@ spec:
|
|||||||
- name: custom-config-volume
|
- name: custom-config-volume
|
||||||
mountPath: /etc/coredns/custom
|
mountPath: /etc/coredns/custom
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: hardware
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- rpi5
|
||||||
|
- rpi4
|
||||||
|
- key: node-role.kubernetes.io/worker
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- "true"
|
||||||
dnsPolicy: Default
|
dnsPolicy: Default
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/os: linux
|
kubernetes.io/os: linux
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user