From 3df5349023797eaf3c3307a7c7b32f25409a5904 Mon Sep 17 00:00:00 2001 From: Quirin Vetterl Date: Wed, 21 Aug 2024 09:50:52 +0200 Subject: [PATCH] try again --- charts/metal-control-plane/templates/ipam.yaml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/charts/metal-control-plane/templates/ipam.yaml b/charts/metal-control-plane/templates/ipam.yaml index 11597a0..d9b5ace 100644 --- a/charts/metal-control-plane/templates/ipam.yaml +++ b/charts/metal-control-plane/templates/ipam.yaml @@ -18,17 +18,15 @@ spec: prometheus.io/port: '2112' spec: affinity: - podAntiAffinity: + podAffinity: requiredDuringSchedulingIgnoredDuringExecution: - - weight: 100 - podAffinityTerm: - labelSelector: - matchExpressions: - - key: app - operator: In - values: - - ipam - topologyKey: topology.kubernetes.io/zone + labelSelector: + matchExpressions: + - key: app + operator: NotIn + values: + - ipam + topologyKey: topology.kubernetes.io/zone containers: - name: ipam args: