taint
A mark on a node that repels pods which do not tolerate it, used to reserve nodes or keep work off unhealthy ones.
In more detail
Each taint has a key, an optional value and an effect. NoSchedule blocks new pods, PreferNoSchedule discourages them and NoExecute also evicts running pods that do not tolerate it. The node controller adds taints automatically for conditions such as not-ready or memory pressure.
Example
kubectl describe node node-aRelated terms
- toleration — A setting on a pod that lets it be scheduled onto, or stay on, a node with a matching taint.
- cordon — Marking a node unschedulable so no new pods are placed on it, while the pods already there keep running.
- node pressure — A node condition reporting that it is running short of memory, disk or process IDs, which leads to taints and evictions.
- eviction — Removing a running pod from its node, either through the API during maintenance or by the kubelet when the node runs short of resources.
Taught in
- A Node Goes NotReady Forty Minutes In — Certified Kubernetes Administrator (CKA) Exam Prep
- When A Control Plane Pod Breaks — Certified Kubernetes Administrator (CKA) Exam Prep
- Four Faults, Twelve Minutes — Certified Kubernetes Administrator (CKA) Exam Prep
- Placing Pods: Selectors, Affinity, Taints And Requests — Certified Kubernetes Administrator (CKA) Exam Prep
- StorageClasses: Why A Claim Waits For Its Pod — Certified Kubernetes Administrator (CKA) Exam Prep
- Pending All Saturday: How The Scheduler Places Pods — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Fundamentals Sprint: Four Tickets Before The Doors Open — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Orchestration Sprint: Four Fixes, No Walls Removed — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- How Thick Is The Wall? Isolation Techniques — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Overview Sprint: Four Findings Before The Auditor — Kubernetes and Cloud Native Security Associate (KCSA) 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
- Troubleshooting: NotReady Nodes And kubelet Logs — Kubernetes: Production-Grade Container Orchestration