mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-22 06:58:09 -03:30
Update dns-autoscaler.yml.j2 (#4857)
Merge two tolerations. because the latest tolerations will cover the first tolerations.
This commit is contained in:
parent
fa791cc344
commit
69a8f91512
@ -46,6 +46,8 @@ spec:
|
||||
- effect: NoSchedule
|
||||
operator: Equal
|
||||
key: node-role.kubernetes.io/master
|
||||
- key: "CriticalAddonsOnly"
|
||||
operator: "Exists"
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
@ -77,7 +79,4 @@ spec:
|
||||
- --v=2
|
||||
- --configmap=dns-autoscaler{{ coredns_ordinal_suffix }}
|
||||
- --target=Deployment/coredns{{ coredns_ordinal_suffix }}
|
||||
tolerations:
|
||||
- key: "CriticalAddonsOnly"
|
||||
operator: "Exists"
|
||||
serviceAccountName: dns-autoscaler
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user