Skip to content

Added `component` to the podAntiAffinity of nginx ingress

Ivan Kurnosov requested to merge zerkms/gitlab:patch-1 into master

At the moment the podAntiAffinity for the nginx ingress (controller-deployment.yaml) does not have a component fraction and only has

      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - weight: 1
            podAffinityTerm:
              topologyKey: kubernetes.io/hostname
              labelSelector:
                matchLabels:
                  app: nginx-ingress
                  release: release-name

Given default-backend has exactly the same app and release values - the nginx ingress controller prevents default backend to be installed on the same nodes (which makes very little sense).

Merge request reports