From 66ff03388784ee578528efcbd45e601ec870ccf3 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Sun, 9 Feb 2025 23:51:03 +0000 Subject: [PATCH] Fix: ensure ingress pods only run on correct nodes --- charts/kubezero/templates/istio-ingress.yaml | 2 -- charts/kubezero/templates/istio-private-ingress.yaml | 2 -- 2 files changed, 4 deletions(-) diff --git a/charts/kubezero/templates/istio-ingress.yaml b/charts/kubezero/templates/istio-ingress.yaml index 6d373f3e..f61fd090 100644 --- a/charts/kubezero/templates/istio-ingress.yaml +++ b/charts/kubezero/templates/istio-ingress.yaml @@ -15,7 +15,6 @@ gateway: {{- end }} {{- end }} - {{- if eq .Values.global.platform "aws" }} # Only nodes who are fronted with matching LB affinity: nodeAffinity: @@ -24,7 +23,6 @@ gateway: - matchExpressions: - key: node.kubernetes.io/ingress.public operator: Exists - {{- end }} topologySpreadConstraints: - maxSkew: 1 diff --git a/charts/kubezero/templates/istio-private-ingress.yaml b/charts/kubezero/templates/istio-private-ingress.yaml index 8f3d5ea9..c973fbdf 100644 --- a/charts/kubezero/templates/istio-private-ingress.yaml +++ b/charts/kubezero/templates/istio-private-ingress.yaml @@ -15,7 +15,6 @@ gateway: {{- end }} {{- end }} - {{- if eq .Values.global.platform "aws" }} # Only nodes who are fronted with matching LB affinity: nodeAffinity: @@ -24,7 +23,6 @@ gateway: - matchExpressions: - key: node.kubernetes.io/ingress.private operator: Exists - {{- end }} topologySpreadConstraints: - maxSkew: 1