From 758610dff08f9c0a7b3e6b488fd0c97323889b2c Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Sat, 17 Jan 2026 20:15:51 -0300 Subject: [PATCH] core: pin coredns to rpi workers --- infrastructure/core/coredns-deployment.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/infrastructure/core/coredns-deployment.yaml b/infrastructure/core/coredns-deployment.yaml index d3eb368..1e69eec 100644 --- a/infrastructure/core/coredns-deployment.yaml +++ b/infrastructure/core/coredns-deployment.yaml @@ -81,6 +81,20 @@ spec: - name: custom-config-volume mountPath: /etc/coredns/custom 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 nodeSelector: kubernetes.io/os: linux