Skip to content
Discussion options

You must be logged in to vote

This should be as simple as removing this line right here in your all.yaml (line 36)

  {{ '--node-taint node-role.kubernetes.io/master=true:NoSchedule' if k3s_master_taint else '' }}

This applies a taint to a node so that it is marked as a master and no workload will run unless they are critical. If you've already created your cluster, you can remove that taint

kubectl taint nodes node1 node2 node3  node-role.kubernetes.io/master=true:NoSchedule-

(You'll need to updated the node names to match yours)

if you notice the - at the end, that means remove, so if you need to add the taint back you can run the same command without the -

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@maxcerny
Comment options

Answer selected by maxcerny
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants