Skip to content

Commit e072a1a

Browse files
authored
support topologySpreadConstraints in Deployment config (#308)
part of : kiali/kiali#5614
1 parent 02fe58c commit e072a1a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

kiali-server/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,5 +239,9 @@ spec:
239239
nodeSelector:
240240
{{- toYaml .Values.deployment.node_selector | nindent 8 }}
241241
{{- end }}
242+
{{- if .Values.deployment.topology_spread_constraints }}
243+
topologySpreadConstraints:
244+
{{- toYaml .Values.deployment.topology_spread_constraints | nindent 8 }}
245+
{{- end }}
242246
...
243247
{{- end }}

kiali-server/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ deployment:
9494
service_annotations: {}
9595
service_type: ""
9696
tolerations: []
97+
topology_spread_constraints: []
9798
version_label: ${HELM_IMAGE_TAG} # v1.39 # v1.39.0 # see: https://quay.io/repository/kiali/kiali?tab=tags
9899
view_only_mode: false
99100

0 commit comments

Comments
 (0)