mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-05 06:49:57 +00:00
Add topologySpreadConstraints to support scaling of coredns
Signed-off-by: Marc Bachmann <marc.brookman@gmail.com>
This commit is contained in:
committed by
Brad Davidson
parent
e24e1332fd
commit
9b35734e1a
@@ -109,6 +109,13 @@ spec:
|
||||
effect: "NoSchedule"
|
||||
nodeSelector:
|
||||
beta.kubernetes.io/os: linux
|
||||
topologySpreadConstraints:
|
||||
- maxSkew: 1
|
||||
topologyKey: kubernetes.io/hostname
|
||||
whenUnsatisfiable: DoNotSchedule
|
||||
labelSelector:
|
||||
matchLabels:
|
||||
k8s-app: kube-dns
|
||||
containers:
|
||||
- name: coredns
|
||||
image: %{SYSTEM_DEFAULT_REGISTRY}%rancher/mirrored-coredns-coredns:1.8.4
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user