Skip to content

Commit

Permalink
A short explanation for --no-taints parameter added
Browse files Browse the repository at this point in the history
Signed-off-by: makhov <[email protected]>
  • Loading branch information
makhov committed Jan 30, 2022
1 parent 033a074 commit 96b88b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/worker-node-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ controller0 NotReady control-plane 10s v1.20.2-k0s1 beta.kubernetes.io

The `k0s worker` command accepts the `--taints` flag, with which you can make the newly joined worker node the register itself with the given set of taints.

**Note:** Controller nodes running with `--enable-worker` are assigned `node-role.kubernetes.io/master:NoExecute` taint automatically.
**Note:** Controller nodes running with `--enable-worker` are assigned `node-role.kubernetes.io/master:NoExecute` taint automatically. You can disable default taints using `--no-taints` parameter.

```shell
kubectl get nodes -o custom-columns=NAME:.metadata.name,TAINTS:.spec.taints
Expand Down

0 comments on commit 96b88b0

Please sign in to comment.