From 87989e67d1438e561dab006fa27e3c3bda81d16f Mon Sep 17 00:00:00 2001 From: jabdoa2 Date: Wed, 5 Jun 2024 15:01:21 +0200 Subject: [PATCH] Make sure we got DNS during disruptions Currently, you might have no DNS anymore if you loose the wrong zone. --- .../addons/coredns.addons.k8s.io/k8s-1.12.yaml.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upup/models/cloudup/resources/addons/coredns.addons.k8s.io/k8s-1.12.yaml.template b/upup/models/cloudup/resources/addons/coredns.addons.k8s.io/k8s-1.12.yaml.template index a323a4aa7841e..3db601f475786 100644 --- a/upup/models/cloudup/resources/addons/coredns.addons.k8s.io/k8s-1.12.yaml.template +++ b/upup/models/cloudup/resources/addons/coredns.addons.k8s.io/k8s-1.12.yaml.template @@ -147,7 +147,7 @@ spec: topologySpreadConstraints: - maxSkew: 1 topologyKey: "topology.kubernetes.io/zone" - whenUnsatisfiable: ScheduleAnyway + whenUnsatisfiable: DoNotSchedule labelSelector: matchLabels: k8s-app: kube-dns