From b4ac308af88b0eb416baeb580a4abc59ceb18886 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Wed, 31 Dec 2025 21:00:18 -0300 Subject: [PATCH] metallb: schedule speaker on rpi4+rpi5 --- .../metallb/patches/node-placement.yaml | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/infrastructure/metallb/patches/node-placement.yaml b/infrastructure/metallb/patches/node-placement.yaml index e32337e..f520c37 100644 --- a/infrastructure/metallb/patches/node-placement.yaml +++ b/infrastructure/metallb/patches/node-placement.yaml @@ -15,8 +15,16 @@ spec: - --webhook-mode=enabled - --tls-min-version=VersionTLS12 - --lb-class=metallb - nodeSelector: - hardware: rpi5 + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: hardware + operator: In + values: + - rpi4 + - rpi5 --- apiVersion: apps/v1 kind: DaemonSet @@ -26,5 +34,13 @@ metadata: spec: template: spec: - nodeSelector: - hardware: rpi5 + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: hardware + operator: In + values: + - rpi4 + - rpi5