mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 23:22:07 +02:00

* pages*: remove "one or more" from description when superfluous --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
16 lines
430 B
Markdown
16 lines
430 B
Markdown
# kubectl taint
|
|
|
|
> Update the taints on nodes.
|
|
> More information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#taint>.
|
|
|
|
- Apply taint to a node:
|
|
|
|
`kubectl taint nodes {{node_name}} {{label_key}}={{label_value}}:{{effect}}`
|
|
|
|
- Remove taint from a node:
|
|
|
|
`kubectl taint nodes {{node_name}} {{label_key}}:{{effect}}-`
|
|
|
|
- Remove all taints from a node:
|
|
|
|
`kubectl taint nodes {{node_name}} {{label_key}}-`
|