sparse-fireman-14239
11/17/2022, 8:14 PMnode-taint:
- "CriticalAddonsOnly=true:NoExecute"
Though, kubelet is started with what I assume is the correct argument.
--register-with-taints=CriticalAddonsOnly=true:NoExecute
Adding the taint with kubectl works fine.creamy-pencil-82913
11/17/2022, 8:15 PM--register-with-taints
. not --add-taints-after-registered
sparse-fireman-14239
11/17/2022, 8:15 PMcreamy-pencil-82913
11/17/2022, 8:16 PMsparse-fireman-14239
11/17/2022, 8:16 PMcreamy-pencil-82913
11/17/2022, 8:17 PMRKE2 agents can be configured with the optionsandnode-label
which adds a label and taint to the kubelet. The two options only add labels and/or taints at registration time, and can only be added once and not removed after that through rke2 commands.node-taint
If you want to change node labels and taints after node registration you should use. Refer to the official Kubernetes documentation for details on how to add taints and node labels.kubectl
sparse-fireman-14239
11/17/2022, 8:19 PM