Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(helm-chart): support topology spread constraints #1238

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@
- [Stefan Tertan](https://github.com/ColdFire87)
- [Ajay Kalambur](https://github.com/kalamburajay)
- [Lorenzo Setale](https://setale.me/)
- [Mats Andresen](https://github.com/maandr)
4 changes: 4 additions & 0 deletions deploy/helm/kuberhealthy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ spec:
nodeSelector:
{{- toYaml .Values.deployment.nodeSelector | nindent 8 }}
{{- end }}
{{- with .Values.deployment.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
restartPolicy: Always
terminationGracePeriodSeconds: 60
{{- if or .Values.tolerations.master .Values.deployment.tolerations }}
Expand Down
1 change: 1 addition & 0 deletions deploy/helm/kuberhealthy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ deployment:
imagePullPolicy: IfNotPresent
nodeSelector: {}
podAnnotations: {}
topologySpreadConstraints: {}
# tolerations:
# - key: "key"
# operator: "Equal"
Expand Down
Loading