mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
kubectl taint: add page (#11125)
This commit is contained in:
parent
265527d2c2
commit
fe36fb68e7
1 changed files with 16 additions and 0 deletions
16
pages/common/kubectl-taint.md
Normal file
16
pages/common/kubectl-taint.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# kubectl taint
|
||||
|
||||
> Update the taints on one or more 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}}-`
|
Loading…
Add table
Reference in a new issue