diff --git a/infrastructure/cluster1/kube-dns/deployment.yaml b/infrastructure/cluster1/kube-dns/deployment.yaml index 87a1859d..6b93fddc 100644 --- a/infrastructure/cluster1/kube-dns/deployment.yaml +++ b/infrastructure/cluster1/kube-dns/deployment.yaml @@ -16,3 +16,10 @@ spec: operator: "Equal" value: "true" effect: "NoSchedule" + topologySpreadConstraints: + - maxSkew: 1 + topologyKey: kubernetes.io/hostname + whenUnsatisfiable: ScheduleAnyway + labelSelector: + matchLabels: + k8s-app: kube-dns