File tree 4 files changed +18
-1
lines changed
4 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v1
2
2
name : ingress-nginx
3
- version : 2.15 .0
3
+ version : 2.16 .0
4
4
appVersion : 0.35.0
5
5
home : https://github.com/kubernetes/ingress-nginx
6
6
description : Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer
Original file line number Diff line number Diff line change @@ -223,6 +223,9 @@ spec:
223
223
{{- end }}
224
224
{{- if .Values.controller.affinity }}
225
225
affinity : {{ toYaml .Values.controller.affinity | nindent 8 }}
226
+ {{- end }}
227
+ {{- if .Values.controller.topologySpreadConstraints }}
228
+ topologySpreadConstraints : {{ toYaml .Values.controller.topologySpreadConstraints | nindent 8 }}
226
229
{{- end }}
227
230
serviceAccountName : {{ template "ingress-nginx.serviceAccountName" . }}
228
231
terminationGracePeriodSeconds : {{ .Values.controller.terminationGracePeriodSeconds }}
Original file line number Diff line number Diff line change @@ -227,6 +227,9 @@ spec:
227
227
{{- end }}
228
228
{{- if .Values.controller.affinity }}
229
229
affinity : {{ toYaml .Values.controller.affinity | nindent 8 }}
230
+ {{- end }}
231
+ {{- if .Values.controller.topologySpreadConstraints }}
232
+ topologySpreadConstraints : {{ toYaml .Values.controller.topologySpreadConstraints | nindent 8 }}
230
233
{{- end }}
231
234
serviceAccountName : {{ template "ingress-nginx.serviceAccountName" . }}
232
235
terminationGracePeriodSeconds : {{ .Values.controller.terminationGracePeriodSeconds }}
Original file line number Diff line number Diff line change @@ -209,6 +209,17 @@ controller:
209
209
# - controller
210
210
# topologyKey: "kubernetes.io/hostname"
211
211
212
+ # # Topology spread constraints rely on node labels to identify the topology domain(s) that each Node is in.
213
+ # # Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
214
+ # #
215
+ topologySpreadConstraints : []
216
+ # - maxSkew: 1
217
+ # topologyKey: failure-domain.beta.kubernetes.io/zone
218
+ # whenUnsatisfiable: DoNotSchedule
219
+ # labelSelector:
220
+ # matchLabels:
221
+ # app.kubernetes.io/instance: ingress-nginx-internal
222
+
212
223
# # terminationGracePeriodSeconds
213
224
# # wait up to five minutes for the drain of connections
214
225
# #
You can’t perform that action at this time.
0 commit comments