toleration
A setting on a pod that lets it be scheduled onto, or stay on, a node with a matching taint.
In more detail
A toleration only permits; it does not attract the pod to that node. To both allow and require special nodes, combine a toleration with node affinity. DaemonSets often carry tolerations so their agents run on every node.
Related terms
- taint — A mark on a node that repels pods which do not tolerate it, used to reserve nodes or keep work off unhealthy ones.
- node affinity — Rules in a pod spec that say which nodes the pod must run on, or would prefer, based on node labels such as zone or hardware.
- DaemonSet — A Kubernetes object that runs one copy of a pod on every node, used for agents such as log shippers and Falco.
Taught in
- A Node Goes NotReady Forty Minutes In — Certified Kubernetes Administrator (CKA) Exam Prep
- Placing Pods: Selectors, Affinity, Taints And Requests — Certified Kubernetes Administrator (CKA) Exam Prep
- Choose The Right Workload Resource — Certified Kubernetes Application Developer (CKAD) Exam Prep
- DaemonSets And Node Services — Kubernetes: Production-Grade Container Orchestration
- Node Affinity, Pod Affinity And Topology Spread — Kubernetes: Production-Grade Container Orchestration
- Taints, Tolerations And Disruption Budgets — Kubernetes: Production-Grade Container Orchestration
- Troubleshooting: Pending Pod Triage — Kubernetes: Production-Grade Container Orchestration