Skip to content

Commit

Permalink
Merge pull request #3097 from igorcanadi/calico_tolerations
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

added wider toleration to calico-node daemonset (#2857)

Calico pod needs to run on all nodes, regardless of their taints. Otherwise the node cannot join the cluster. See #2857 for more discussion. This commit was originally ca16@b66b626 by @ca16. It's also similar to the PR that kube-aws recently merged: https://github.com/kubernetes-incubator/kube-aws/pull/687/files.

Would you mind merging this to 1.7 branch too?
  • Loading branch information
Kubernetes Submit Queue committed Aug 4, 2017
2 parents 5577fab + 7323e5f commit 69d6fc9
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,12 @@ spec:
hostNetwork: true
serviceAccountName: calico
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
- key: CriticalAddonsOnly
operator: Exists
- effect: NoExecute
operator: Exists
- effect: NoSchedule
operator: Exists
containers:
# Runs calico/node container on each Kubernetes node. This
# container programs network policy and routes on each
Expand Down

0 comments on commit 69d6fc9

Please sign in to comment.