From b07f32e7c8e834cd9963e616789e7babebc3d1dc Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Fri, 16 Jan 2026 17:45:29 -0300 Subject: [PATCH] longhorn: pin vault sync to rpi workers --- .../longhorn/core/vault-sync-deployment.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/infrastructure/longhorn/core/vault-sync-deployment.yaml b/infrastructure/longhorn/core/vault-sync-deployment.yaml index cb04c39..95b159c 100644 --- a/infrastructure/longhorn/core/vault-sync-deployment.yaml +++ b/infrastructure/longhorn/core/vault-sync-deployment.yaml @@ -15,6 +15,17 @@ spec: app: longhorn-vault-sync spec: serviceAccountName: longhorn-vault-sync + nodeSelector: + node-role.kubernetes.io/worker: "true" + affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 80 + preference: + matchExpressions: + - key: hardware + operator: In + values: ["rpi5", "rpi4"] containers: - name: sync image: alpine:3.20