Fix: ensure ingress pods only run on correct nodes
This commit is contained in:
parent
5da14fad43
commit
66ff033887
@ -15,7 +15,6 @@ gateway:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if eq .Values.global.platform "aws" }}
|
|
||||||
# Only nodes who are fronted with matching LB
|
# Only nodes who are fronted with matching LB
|
||||||
affinity:
|
affinity:
|
||||||
nodeAffinity:
|
nodeAffinity:
|
||||||
@ -24,7 +23,6 @@ gateway:
|
|||||||
- matchExpressions:
|
- matchExpressions:
|
||||||
- key: node.kubernetes.io/ingress.public
|
- key: node.kubernetes.io/ingress.public
|
||||||
operator: Exists
|
operator: Exists
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
- maxSkew: 1
|
- maxSkew: 1
|
||||||
|
@ -15,7 +15,6 @@ gateway:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if eq .Values.global.platform "aws" }}
|
|
||||||
# Only nodes who are fronted with matching LB
|
# Only nodes who are fronted with matching LB
|
||||||
affinity:
|
affinity:
|
||||||
nodeAffinity:
|
nodeAffinity:
|
||||||
@ -24,7 +23,6 @@ gateway:
|
|||||||
- matchExpressions:
|
- matchExpressions:
|
||||||
- key: node.kubernetes.io/ingress.private
|
- key: node.kubernetes.io/ingress.private
|
||||||
operator: Exists
|
operator: Exists
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
- maxSkew: 1
|
- maxSkew: 1
|
||||||
|
Loading…
Reference in New Issue
Block a user