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
|
- --v=2
|
||||||
priorityClassName: system-cluster-critical
|
priorityClassName: system-cluster-critical
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: "CriticalAddonsOnly"
|
{{- if KubeDNS.Tolerations }}
|
||||||
operator: "Exists"
|
{{ ToYAML .KubeDNS.Tolerations | indent 8 }}
|
||||||
|
{{- else }}
|
||||||
|
- key: "CriticalAddonsOnly"
|
||||||
|
operator: "Exists"
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: coredns-autoscaler
|
serviceAccountName: coredns-autoscaler
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/os: linux
|
kubernetes.io/os: linux
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue