Skip to content

Commit

Permalink
salt: Tie calico-kube-controllers to master nodes
Browse files Browse the repository at this point in the history
Tie `calico-kube-controllers` pod to master nodes only.
Since it's mandatory to have this pod to have a working cluster
let's tie this one to master and not to infra.

Fixes: #2243
  • Loading branch information
TeddyAndrieux committed Oct 1, 2020
1 parent d4c6457 commit 7d3713c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions salt/metalk8s/kubernetes/cni/calico/deployed.sls
Original file line number Diff line number Diff line change
Expand Up @@ -3836,6 +3836,7 @@ spec:
spec:
nodeSelector:
kubernetes.io/os: linux
node-role.kubernetes.io/master: ''
tolerations:
# Mark the pod as a critical add-on for rescheduling.
- key: CriticalAddonsOnly
Expand Down

0 comments on commit 7d3713c

Please sign in to comment.