Skip to content

Commit

Permalink
update node selector for modern k8s versions
Browse files Browse the repository at this point in the history
  • Loading branch information
AshleyDumaine committed Feb 12, 2024
1 parent 8470afb commit d64ed9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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
6 changes: 3 additions & 3 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 All @@ -48,4 +48,4 @@ tolerations:
# LINODE_HOSTNAME_ONLY_INGRESS type bool is supported
# env:
# - name: EXAMPLE_ENV_VAR
# value: "true"
# value: "true"

0 comments on commit d64ed9f

Please sign in to comment.