Skip to content
Opsfolk

Scheduling and scaling, topic 35 of 61

Taints and tolerations

Affinity pulls Pods towards nodes; a taint pushes them away. A node with a taint takes only Pods with a matching toleration. That is how control plane nodes keep ordinary workloads off, and how you reserve nodes, such as GPU machines, for the Pods that need them.

The effect NoSchedule stops new Pods, and NoExecute also evicts running ones. Kubernetes taints nodes itself when they are unreachable or under pressure. A toleration lets a Pod onto a node but does not send it there: pair it with affinity.

On Opsfolk

Nothing of ours for this topic yet: an article is on its way.

Elsewhere

Your progress