Updated document for taint and tolerations.. (#5702)
This commit is contained in:
committed by
Zach Corleissen
parent
8e62628c8d
commit
6bdeecea3b
@@ -17,6 +17,9 @@ marks that the node should not accept any pods that do not tolerate the taints.
|
|||||||
Tolerations are applied to pods, and allow (but do not require) the pods to schedule
|
Tolerations are applied to pods, and allow (but do not require) the pods to schedule
|
||||||
onto nodes with matching taints.
|
onto nodes with matching taints.
|
||||||
|
|
||||||
|
* TOC
|
||||||
|
{:toc}
|
||||||
|
|
||||||
## Concepts
|
## Concepts
|
||||||
|
|
||||||
You add a taint to a node using [kubectl taint](/docs/user-guide/kubectl/{{page.version}}/#taint).
|
You add a taint to a node using [kubectl taint](/docs/user-guide/kubectl/{{page.version}}/#taint).
|
||||||
@@ -205,8 +208,8 @@ currently include:
|
|||||||
this node, kubelet removes this taint.
|
this node, kubelet removes this taint.
|
||||||
|
|
||||||
When the `TaintBasedEvictions` alpha feature is enabled (you can do this by
|
When the `TaintBasedEvictions` alpha feature is enabled (you can do this by
|
||||||
including `TaintBasedEvictions=true` in `--feature-gates`, such as
|
including `TaintBasedEvictions=true` in `--feature-gates` for Kubernetes controller manager,
|
||||||
`--feature-gates=FooBar=true,TaintBasedEvictions=true`), the taints are automatically
|
such as `--feature-gates=FooBar=true,TaintBasedEvictions=true`), the taints are automatically
|
||||||
added by the NodeController (or kubelet) and the normal logic for evicting pods from nodes
|
added by the NodeController (or kubelet) and the normal logic for evicting pods from nodes
|
||||||
based on the Ready NodeCondition is disabled.
|
based on the Ready NodeCondition is disabled.
|
||||||
(Note: To maintain the existing [rate limiting](/docs/concepts/architecture/nodes/)
|
(Note: To maintain the existing [rate limiting](/docs/concepts/architecture/nodes/)
|
||||||
|
|||||||
Reference in New Issue
Block a user