Schedule Kubernetes Workloads Across Failure Domains
8 steps · about 2 h 50 min · Intermediate
- Express required and preferred placement (doc, Kubernetes Documentation, 24 min)
The scheduling framework shows where filtering and scoring apply placement requirements and preferences.
- Reserve nodes with taints and tolerations (doc, Kubernetes Documentation, 20 min)
Taints repel unsuitable pods while tolerations permit, but do not guarantee, placement.
- Spread replicas across zones and nodes (doc, Kubernetes Documentation, 22 min)
Topology constraints limit skew so one failure domain does not hold every replica.
- Set priority without causing surprise evictions (doc, Kubernetes Documentation, 20 min)
Priority can protect critical work but may displace lower-priority pods when capacity is tight.
- Account for node pressure during placement (doc, Kubernetes Documentation, 22 min)
Memory, disk and process pressure can evict pods even when their initial scheduling constraints were satisfied.
- Separate voluntary and involuntary disruption (doc, Kubernetes Documentation, 16 min)
Failure-domain placement and maintenance behaviour must be reasoned about together.
- Reserve node capacity for system work (tutorial, Kubernetes Documentation, 18 min)
Explicit reservations keep node services healthy when scheduled workloads consume their requested capacity.
- Test placement with a controlled node drain (tutorial, Kubernetes Documentation, 28 min)
Draining one node proves whether replicas redistribute and exposes rules that make replacement pods unschedulable.