CertGrid CertGrid
Hands-on Lab·Certified Kubernetes Administrator

Topology Spread Constraints

Nine replicas, maxSkew of 1, and only three ever schedule. The tainted control plane counts as a topology domain holding zero Pods, so a fourth would breach the skew. One field fixes it and the scheduler says so if you read the message.

Scheduling and Placement Guide 42 of 103 Advanced

Written against the versions above. nodeTaintsPolicy needs 1.26 or newer. On older clusters the workaround is a nodeSelector.

One tainted control plane and three workers. That asymmetry is what makes this guide's failure appear.
Server NameIP AddressOSRolesCPURAMHDD
CKA1001192.168.0.175Ubuntu 26.04 LTSControl Plane Node2 Core4 GB50 GB
CKA1001-NODE01192.168.0.176Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA1001-NODE02192.168.0.177Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA1001-NODE03192.168.0.178Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB

Before you start

  1. Six replicas, maxSkew 1, and three that never start

  2. The scheduler explains it, and the answer is the control plane

  3. nodeTaintsPolicy: Honor, and all nine schedule

  4. ScheduleAnyway, and what the scheduler does unaided

Official sources