Skip to content

Commit

Permalink
Merge pull request #176 from AshleyDumaine/patch-1
Browse files Browse the repository at this point in the history
update default CCM node selector and tolerations from master to control-plane
  • Loading branch information
tchinmai7 authored Feb 16, 2024
2 parents 664fd79 + d64ed9f commit b41d8d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deploy/ccm-linode-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ spec:
serviceAccountName: ccm-linode
nodeSelector:
# The CCM will only run on a Node labelled as a master, you may want to change this
node-role.kubernetes.io/master: ""
node-role.kubernetes.io/control-plane: ""
tolerations:
# The CCM can run on Nodes tainted as masters
- key: "node-role.kubernetes.io/master"
- key: "node-role.kubernetes.io/control-plane"
effect: "NoSchedule"
# The CCM is a "critical addon"
- key: "CriticalAddonsOnly"
Expand Down
4 changes: 2 additions & 2 deletions deploy/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ region: ""
# node-role.kubernetes.io/master - if set true, it deploys the svc on the master node
nodeSelector:
# The CCM will only run on a Node labelled as a master, you may want to change this
node-role.kubernetes.io/master: ""
node-role.kubernetes.io/control-plane: ""

# Image repository must be 'linode/linode-cloud-controller-manager'. The tag can be changed/set to various ccm versions.
# The pullPolicy is set to Always but can be changed when it is not required to always pull the new image
Expand All @@ -28,7 +28,7 @@ namespace: "kube-system"
# Set of default tolerations
tolerations:
# The CCM can run on Nodes tainted as masters
- key: "node-role.kubernetes.io/master"
- key: "node-role.kubernetes.io/control-plane"
effect: "NoSchedule"
# The CCM is a "critical addon"
- key: "CriticalAddonsOnly"
Expand Down

0 comments on commit b41d8d2

Please sign in to comment.