File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 47
47
# if not set. If you're using the chart directly from git, the default
48
48
# app version will not work and you'll need to set this value. The helm
49
49
# chart helpfully fails quickly in this case.
50
- tag : " "
50
+ tag : " v2.15.0 "
51
51
# coder.image.pullPolicy -- The pull policy to use for the image. See:
52
52
# https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy
53
53
pullPolicy : IfNotPresent
@@ -236,6 +236,15 @@ coder:
236
236
topologyKey : kubernetes.io/hostname
237
237
weight : 1
238
238
239
+ # coder.topologySpreadConstraints -- Topology spread constraints for the Coder pod.
240
+ topologySpreadConstraints :
241
+ - maxSkew : 1
242
+ topologyKey : kubernetes.io/hostname
243
+ whenUnsatisfiable : DoNotSchedule
244
+ labelSelector :
245
+ matchLabels :
246
+ app : coder
247
+
239
248
# coder.tolerations -- Tolerations for tainted nodes.
240
249
# See: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
241
250
tolerations :
Original file line number Diff line number Diff line change 43
43
nodeSelector :
44
44
{{ toYaml . | nindent 8 }}
45
45
{{- end }}
46
+ {{- with .Values.coder.topologySpreadConstraints }}
47
+ topologySpreadConstraints :
48
+ {{- toYaml .Values.coder.topologySpreadConstraints | nindent 8 }}
49
+ {{- end }}
46
50
{{- with .Values.coder.initContainers }}
47
51
initContainers :
48
52
{{ toYaml . | nindent 8 }}
You can’t perform that action at this time.
0 commit comments