Difference between revisions of "Kubernetes taints and tolerations"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
− | * A taint consists of a key, value, and effect. As an argument here, it is expressed as | + | * A taint consists of a key, value, and effect. As an argument here, it is expressed as <code>[[key=value:effect]]</code> |
− | key=value:effect | ||
* The effect must be [[NoSchedule]], [[PreferNoSchedule]] or [[NoExecute]]. | * The effect must be [[NoSchedule]], [[PreferNoSchedule]] or [[NoExecute]]. | ||
Revision as of 20:08, 1 March 2023
Taints allow a node to repel a set of pods, in opposite to Node Affinity
- A taint consists of a key, value, and effect. As an argument here, it is expressed as
key=value:effect
- The effect must be NoSchedule, PreferNoSchedule or NoExecute.
Activities
Related
See also
Advertising: