Skip to content

test-staging-rke2: Exclude pods from running metallb speaker

Antoine R. Dumont requested to merge exclude-banco into production

Through affinity and node labels.

helm diff
[cluster-configuration] Comparing changes between branches production and exclude-banco...
Your branch is up to date with 'origin/production'.
[cluster-configuration] Generate config in production branch for cluster-configuration/values/admin-rke2.yaml...
[cluster-configuration] Generate config in production branch for cluster-configuration/values/archive-production-rke2.yaml...
[cluster-configuration] Generate config in production branch for cluster-configuration/values/archive-staging-rke2.yaml...
[cluster-configuration] Generate config in production branch for cluster-configuration/values/gitlab-production.yaml...
[cluster-configuration] Generate config in production branch for cluster-configuration/values/gitlab-staging.yaml...
[cluster-configuration] Generate config in production branch for cluster-configuration/values/rancher.yaml...
[cluster-configuration] Generate config in production branch for cluster-configuration/values/test-staging-rke2.yaml...
[cluster-configuration] Generate config in exclude-banco branch for cluster-configuration/values/admin-rke2.yaml...
[cluster-configuration] Generate config in exclude-banco branch for cluster-configuration/values/archive-production-rke2.yaml...
[cluster-configuration] Generate config in exclude-banco branch for cluster-configuration/values/archive-staging-rke2.yaml...
[cluster-configuration] Generate config in exclude-banco branch for cluster-configuration/values/gitlab-production.yaml...
[cluster-configuration] Generate config in exclude-banco branch for cluster-configuration/values/gitlab-staging.yaml...
[cluster-configuration] Generate config in exclude-banco branch for cluster-configuration/values/rancher.yaml...
[cluster-configuration] Generate config in exclude-banco branch for cluster-configuration/values/test-staging-rke2.yaml...


------------- diff for cluster-configuration/values/admin-rke2.yaml -------------

No differences


------------- diff for cluster-configuration/values/archive-production-rke2.yaml -------------

No differences


------------- diff for cluster-configuration/values/archive-staging-rke2.yaml -------------

No differences


------------- diff for cluster-configuration/values/gitlab-production.yaml -------------

No differences


------------- diff for cluster-configuration/values/gitlab-staging.yaml -------------

No differences


------------- diff for cluster-configuration/values/rancher.yaml -------------

No differences


------------- diff for cluster-configuration/values/test-staging-rke2.yaml -------------

--- /tmp/swh-chart.cluster-configuration.b6xSQdRD/test-staging-rke2.yaml.before 2024-02-06 11:12:53.492386210 +0100
+++ /tmp/swh-chart.cluster-configuration.b6xSQdRD/test-staging-rke2.yaml.after  2024-02-06 11:12:53.844387665 +0100
@@ -199,25 +199,27 @@
   revisionHistoryLimit: 2
   project: default
   source:
     chart: metallb
     repoURL: https://metallb.github.io/metallb
     targetRevision: 0.13.7
     helm:
       releaseName: metallb
       values: |
         speaker:
-          tolerations:
-          - effect: NoExecute
-            key: noMetallbSpeaker
-            operator: Exists
-            tolerationSeconds: 0
+          affinity:
+            nodeAffinity:
+              requiredDuringSchedulingIgnoredDuringExecution:
+                nodeSelectorTerms:
+                  matchExpressions:
+                  - key: noMetallbSpeaker
+                    operator: DoesNotExist
   destination:
     server: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/c-m-hb9j7h5g
     namespace: metallb
   syncPolicy:
     automated:
       prune: false
       selfHeal: false
       allowEmpty: false
     syncOptions:
     - RespectIgnoreDifferences=true

Refs. swh/infra/sysadm-environment#5234 (closed)

Merge request reports