Skip to content

Commit cbd4667

Browse files
committed
coredns: Relax zonal topologySpreadConstraints
1 parent 93c7490 commit cbd4667

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

upup/models/cloudup/resources/addons/coredns.addons.k8s.io/k8s-1.12.yaml.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ spec:
155155
# Metal provider doesn't add the "topology.kubernetes.io/zone" label
156156
- maxSkew: 1
157157
topologyKey: "topology.kubernetes.io/zone"
158-
whenUnsatisfiable: DoNotSchedule
158+
whenUnsatisfiable: ScheduleAnyway
159159
labelSelector:
160160
matchLabels:
161161
k8s-app: kube-dns

upup/models/cloudup/resources/addons/coredns.addons.k8s.io/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ topologySpreadConstraints:
55
app.kubernetes.io/instance: '{{ .Release.Name }}'
66
topologyKey: topology.kubernetes.io/zone
77
maxSkew: 1
8-
whenUnsatisfiable: DoNotSchedule
8+
whenUnsatisfiable: ScheduleAnyway
99
- labelSelector:
1010
matchLabels:
1111
app.kubernetes.io/name: '{{ template "coredns.name" . }}'

0 commit comments

Comments
 (0)