core: pin coredns to rpi workers

This commit is contained in:
Brad Stein 2026-01-17 20:15:51 -03:00
parent b576da53c2
commit 758610dff0

View File

@ -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