mirror of https://github.com/kubernetes/kops.git
Update tolerations so the pods can run on all nodes.
This commit is contained in:
parent
2c0e5be87f
commit
f7dbcf0978
|
@ -79,13 +79,15 @@ spec:
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
serviceAccountName: canal
|
serviceAccountName: canal
|
||||||
tolerations:
|
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.
|
# Mark the pod as a critical add-on for rescheduling.
|
||||||
- key: "CriticalAddonsOnly"
|
- key: "CriticalAddonsOnly"
|
||||||
operator: "Exists"
|
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:
|
containers:
|
||||||
# Runs calico/node container on each Kubernetes node. This
|
# Runs calico/node container on each Kubernetes node. This
|
||||||
# container programs network policy and routes on each
|
# container programs network policy and routes on each
|
||||||
|
|
Loading…
Reference in New Issue