Skip to content

Commit

Permalink
Merge pull request #68 from steadybit/develop
Browse files Browse the repository at this point in the history
feat: support definition of topologySpreadConstraints for the platform
  • Loading branch information
Ben Blackmore authored Jul 20, 2022
2 parents e2b799e + 5395f3c commit 53f57c4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/steadybit-platform/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: steadybit-platform
description: steadybit Platform Helm chart for Kubernetes.
version: 0.4.6
version: 0.5.0
appVersion: latest
home: https://www.steadybit.com/
icon: https://steadybit-website-assets.s3.amazonaws.com/logo-symbol-transparent.png
Expand Down
4 changes: 4 additions & 0 deletions charts/steadybit-platform/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,8 @@ spec:
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
4 changes: 4 additions & 0 deletions charts/steadybit-platform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ nodeSelector: {}
# tolerations -- Tolerations to influence platform pod assignment.
tolerations: []

# topologySpreadConstraints -- Spread constraints to influence platform pod assignment.
# https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
topologySpreadConstraints: []

# affinity -- Affinities to influence platform pod assignment.
affinity: {}

Expand Down

0 comments on commit 53f57c4

Please sign in to comment.