The taint content for the node taint.
JSON representation |
---|
{
"key": string,
"value": string,
"effect": enum ( |
Fields | |
---|---|
key |
Required. Key for the taint. |
value |
Required. Value for the taint. |
effect |
Required. The taint effect. |
Effect
The taint effect.
Enums | |
---|---|
EFFECT_UNSPECIFIED |
Not set. |
NO_SCHEDULE |
Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler. |
PREFER_NO_SCHEDULE |
Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler. |
NO_EXECUTE |
Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController. |