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
@@ -234,6 +234,15 @@ coder:
234
234
topologyKey : kubernetes.io/hostname
235
235
weight : 1
236
236
237
+ # coder.topologySpreadConstraints -- Topology spread constraints for the Coder pod.
238
+ topologySpreadConstraints :
239
+ - maxSkew : 1
240
+ topologyKey : kubernetes.io/hostname
241
+ whenUnsatisfiable : DoNotSchedule
242
+ labelSelector :
243
+ matchLabels :
244
+ app : coder
245
+
237
246
# coder.tolerations -- Tolerations for tainted nodes.
238
247
# See: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
239
248
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