1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:22:08 +02:00
tldr/pages/common/kubectl-taint.md
Vitor Henrique 55a49c4ba1
pages*: remove "one or more" from description when superfluous (#12121)
* pages*: remove "one or more" from description when superfluous

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-01-25 10:58:11 +05:30

430 B

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}}-