We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0be49fa + 12cceaa commit 0dbde18Copy full SHA for 0dbde18
hosting/k8s/helm/templates/webapp.yaml
@@ -421,6 +421,10 @@ spec:
421
tolerations:
422
{{- toYaml . | nindent 8 }}
423
{{- end }}
424
+ {{- with .Values.webapp.topologySpreadConstraints }}
425
+ topologySpreadConstraints:
426
+ {{- tpl (toYaml .) $ | nindent 8 }}
427
+ {{- end }}
428
---
429
apiVersion: v1
430
kind: Service
hosting/k8s/helm/values.yaml
@@ -88,6 +88,8 @@ webapp:
88
nodeSelector: {}
89
tolerations: []
90
affinity: {}
91
+ # Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
92
+ topologySpreadConstraints: []
93
94
logLevel: "info"
95
gracefulShutdownTimeout: 1000
0 commit comments