Difference between revisions of "Kubernetes taints and tolerations"
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
[[spec:]] | [[spec:]] | ||
− | [[providerID]]: aws:///us-east-1a/i- | + | [[providerID]]: aws:///us-east-1a/i-085c2fcaaerterq |
taints: | taints: | ||
- key: dedicated | - key: dedicated |
Revision as of 20:28, 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.
Contents
Example
taints: - key: eks.amazonaws.com/compute-type value: fargate effect: NoSchedule
spec: providerID: aws:///us-east-1a/i-085c2fcaaerterq taints: - key: dedicated value: gpuGroup effect: NoSchedule
Activities
Related
See also
Advertising: