Update tolerations so the pods can run on all nodes.

This commit is contained in:
Kashif Saadat 2017-11-08 17:06:49 +00:00
parent 2c0e5be87f
commit f7dbcf0978
1 changed files with 6 additions and 4 deletions

View File

@ -79,13 +79,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