This message was deleted.
# k3s
a
This message was deleted.
l
I use
--node-taint CriticalAddonsOnly=true:NoExecute
to block regular workloads from going to the control-plane nodes.
m
cool I'll give it a go thanks
hmmm weird still no taint applied 😕
c
https://docs.k3s.io/advanced#node-labels-and-taints
K3s agents can be configured with the options --node-label and --node-taint which adds a label and taint to the kubelet. The two options only add labels and/or taints at registration time, so they can only be set when the node is first joined to the cluster
As the docs make clear, you can't change them on an existing node by adding flags after the fact.
l
Yeah sorry I wasn’t clear about that fact. Of course not 🙏
So roll the node again @microscopic-king-50617
m
yeah I did that and it worked thanks
🎯 1
👍 1
448 Views