mirror of https://github.com/kubernetes/kops.git
use the same tolerations config for coredns-autoscaler deployment as for main coredns deployment
This commit is contained in:
parent
f8fe433b4c
commit
c44f8a94c5
|
|
@ -348,8 +348,12 @@ spec:
|
|||
- --v=2
|
||||
priorityClassName: system-cluster-critical
|
||||
tolerations:
|
||||
- key: "CriticalAddonsOnly"
|
||||
operator: "Exists"
|
||||
{{- if KubeDNS.Tolerations }}
|
||||
{{ ToYAML .KubeDNS.Tolerations | indent 8 }}
|
||||
{{- else }}
|
||||
- key: "CriticalAddonsOnly"
|
||||
operator: "Exists"
|
||||
{{- end }}
|
||||
serviceAccountName: coredns-autoscaler
|
||||
nodeSelector:
|
||||
kubernetes.io/os: linux
|
||||
|
|
|
|||
Loading…
Reference in New Issue