Adds wider tolerations to Canal Daemonset to allow scheduling on nodes with strict taints

This commit is contained in:
Prachetas Prabhu 2017-08-04 11:48:27 -05:00
parent ec4c33ed89
commit 32502ad54f
1 changed files with 7 additions and 5 deletions

View File

@ -71,13 +71,15 @@ spec:
hostNetwork: true
serviceAccountName: canal
tolerations:
# Allow the pod to run on the master. This is required for
# the master to communicate with pods.
- key: node-role.kubernetes.io/master
effect: NoSchedule
# Mark the pod as a critical add-on for rescheduling.
- key: "CriticalAddonsOnly"
operator: "Exists"
- effect: NoExecute
operator: Exists
# Allow the pod to run on all nodes. This is required
# for cluster communication
- effect: NoSchedule
operator: Exists
containers:
# Runs calico/node container on each Kubernetes node. This
# container programs network policy and routes on each
@ -337,4 +339,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: canal
namespace: kube-system
namespace: kube-system