mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-04 04:20:14 +00:00
Add new topologySpreadConstraints to coredns
Prefer scaling across zones if multiple zones are available. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This commit is contained in:
@@ -118,6 +118,12 @@ spec:
|
||||
labelSelector:
|
||||
matchLabels:
|
||||
k8s-app: kube-dns
|
||||
- maxSkew: 1
|
||||
topologyKey: topology.kubernetes.io/zone
|
||||
whenUnsatisfiable: ScheduleAnyway
|
||||
labelSelector:
|
||||
matchLabels:
|
||||
k8s-app: kube-dns
|
||||
containers:
|
||||
- name: coredns
|
||||
image: "%{SYSTEM_DEFAULT_REGISTRY}%rancher/mirrored-coredns-coredns:1.12.1"
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user