Skip to content

Commit b789a69

Browse files
templates: add topologySpreadConstraints
1 parent dcc9e6d commit b789a69

File tree

5 files changed

+20
-0
lines changed

5 files changed

+20
-0
lines changed

charts/quickwit/templates/control-plane-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,7 @@ spec:
124124
{{- if .Values.control_plane.runtimeClassName }}
125125
runtimeClassName: {{ .Values.control_plane.runtimeClassName | quote }}
126126
{{- end }}
127+
{{- with .Values.control_plane.topologySpreadConstraints }}
128+
topologySpreadConstraints:
129+
{{- toYaml . | nindent 8 }}
130+
{{ end }}

charts/quickwit/templates/indexer-statefulset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ spec:
135135
{{- if .Values.indexer.runtimeClassName }}
136136
runtimeClassName: {{ .Values.indexer.runtimeClassName | quote }}
137137
{{- end }}
138+
{{- with .Values.indexer.topologySpreadConstraints }}
139+
topologySpreadConstraints:
140+
{{- toYaml . | nindent 8 }}
141+
{{ end }}
138142
{{- if .Values.indexer.persistentVolume.enabled }}
139143
volumeClaimTemplates:
140144
- metadata:

charts/quickwit/templates/janitor-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,8 @@ spec:
125125
{{- if .Values.janitor.runtimeClassName }}
126126
runtimeClassName: {{ .Values.janitor.runtimeClassName | quote }}
127127
{{- end }}
128+
{{- with .Values.janitor.topologySpreadConstraints }}
129+
topologySpreadConstraints:
130+
{{- toYaml . | nindent 8 }}
131+
{{ end }}
128132
{{- end }}

charts/quickwit/templates/metastore-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,7 @@ spec:
123123
{{- if .Values.metastore.runtimeClassName }}
124124
runtimeClassName: {{ .Values.metastore.runtimeClassName | quote }}
125125
{{- end }}
126+
{{- with .Values.metastore.topologySpreadConstraints }}
127+
topologySpreadConstraints:
128+
{{- toYaml . | nindent 8 }}
129+
{{ end }}

charts/quickwit/templates/searcher-statefulset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ spec:
134134
{{- if .Values.searcher.runtimeClassName }}
135135
runtimeClassName: {{ .Values.searcher.runtimeClassName | quote }}
136136
{{- end }}
137+
{{- with .Values.searcher.topologySpreadConstraints }}
138+
topologySpreadConstraints:
139+
{{- toYaml . | nindent 8 }}
140+
{{ end }}
137141
{{- if .Values.searcher.persistentVolume.enabled }}
138142
volumeClaimTemplates:
139143
- metadata:

0 commit comments

Comments
 (0)