Skip to content

production: No metallb speaker pod on node with specific label

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

This will allow to install the 'noMetallbSpeaker=true' label on banco to exclude it from running such pod.

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 -------------

--- /tmp/swh-chart.cluster-configuration.BPmecFbW/archive-production-rke2.yaml.before   2024-02-06 11:31:45.648389702 +0100
+++ /tmp/swh-chart.cluster-configuration.BPmecFbW/archive-production-rke2.yaml.after    2024-02-06 11:31:46.016390731 +0100
@@ -201,20 +201,29 @@
   namespace: argocd
 spec:
   revisionHistoryLimit: 2
   project: default
   source:
     chart: metallb
     repoURL: https://metallb.github.io/metallb
     targetRevision: 0.13.7
     helm:
       releaseName: metallb
+      values: |
+        speaker:
+          affinity:
+            nodeAffinity:
+              requiredDuringSchedulingIgnoredDuringExecution:
+                nodeSelectorTerms:
+                - matchExpressions:
+                  - key: noMetallbSpeaker
+                    operator: DoesNotExist
   destination:
     server: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/c-m-75xcg59s
     namespace: metallb
   syncPolicy:
     automated:
       prune: false
       selfHeal: false
       allowEmpty: false
     syncOptions:
     - RespectIgnoreDifferences=true


------------- 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 -------------

No differences

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

Merge request reports

Loading