Skip to content

Commit

Permalink
feat: Add support for topologySpreadConstraints
Browse files Browse the repository at this point in the history
  • Loading branch information
UAntBou committed Nov 20, 2023
1 parent 78fc49f commit c6e8065
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1223,6 +1223,10 @@ spec:
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if and .Values.kubecostDeployment.statefulSet.enabled .Values.kubecostDeployment.leaderFollower.enabled }}
volumeClaimTemplates:
- metadata:
Expand Down
2 changes: 2 additions & 0 deletions cost-analyzer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,8 @@ tolerations: []

affinity: {}

topologySpreadConstraints: []

# If true, creates a PriorityClass to be used by the cost-analyzer pod
priority:
enabled: false
Expand Down

0 comments on commit c6e8065

Please sign in to comment.