Skip to content
Snippets Groups Projects
Commit 69a8f915 authored by AlawnWong's avatar AlawnWong Committed by Kubernetes Prow Robot
Browse files

Update dns-autoscaler.yml.j2 (#4857)

Merge two tolerations.  because the latest tolerations will cover the first tolerations.
parent fa791cc3
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,8 @@ spec: ...@@ -46,6 +46,8 @@ spec:
- effect: NoSchedule - effect: NoSchedule
operator: Equal operator: Equal
key: node-role.kubernetes.io/master key: node-role.kubernetes.io/master
- key: "CriticalAddonsOnly"
operator: "Exists"
affinity: affinity:
podAntiAffinity: podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution: requiredDuringSchedulingIgnoredDuringExecution:
...@@ -77,7 +79,4 @@ spec: ...@@ -77,7 +79,4 @@ spec:
- --v=2 - --v=2
- --configmap=dns-autoscaler{{ coredns_ordinal_suffix }} - --configmap=dns-autoscaler{{ coredns_ordinal_suffix }}
- --target=Deployment/coredns{{ coredns_ordinal_suffix }} - --target=Deployment/coredns{{ coredns_ordinal_suffix }}
tolerations:
- key: "CriticalAddonsOnly"
operator: "Exists"
serviceAccountName: dns-autoscaler serviceAccountName: dns-autoscaler
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment