Browse Source

[nodelocaldns] expand tolerations on the daemonset (#4451)

pull/4463/head
Xinghong Fang 6 years ago
committed by Kubernetes Prow Robot
parent
commit
d711a0c83f
1 changed files with 4 additions and 2 deletions
  1. 6
      roles/kubernetes-apps/ansible/templates/nodelocaldns-daemonset.yml.j2

6
roles/kubernetes-apps/ansible/templates/nodelocaldns-daemonset.yml.j2

@ -26,8 +26,10 @@ spec:
hostNetwork: true
dnsPolicy: Default # Don't use cluster DNS.
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
- effect: NoSchedule
operator: "Exists"
- effect: NoExecute
operator: "Exists"
- key: "CriticalAddonsOnly"
operator: "Exists"
containers:

Loading…
Cancel
Save