Skip to content

Commit

Permalink
feat(query): Adds Topology Spread Constraints to Databend Query Pods (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kkapper authored Aug 8, 2024
1 parent 49e0007 commit 61c3c14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/databend-query/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.cache.enabled }}
volumeClaimTemplates:
- metadata:
Expand Down
2 changes: 2 additions & 0 deletions charts/databend-query/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ tolerations: []

affinity: {}

topologySpreadConstraints: []

sidecars: []
# Attach additional containers to the pod
# - name: your-image-name
Expand Down

0 comments on commit 61c3c14

Please sign in to comment.