Notes / tag / scheduling

#scheduling

13 notes across 2 topics

1 — Scheduler Internals

Why the scheduler's filter-then-score two-phase pipeline exists instead of just placing a pod on the first node that fits.

kubernetes scheduling book

10 — Upgrades & Version Skew

Why the N-2 kubelet-to-API-server version skew policy is what lets a large fleet upgrade gradually instead of needing a synchronized all-at-once cutover.

kubernetes scheduling book

2 — nodeSelector

Why nodeSelector's exact-match label equality makes it too blunt for anything beyond simple hardware-tier pinning.

kubernetes scheduling book

3 — Node Affinity

Why splitting node affinity into required (hard) and preferred (soft) rules lets you express 'must have SSD' and 'prefer us-east' in the same spec.

kubernetes scheduling book

4 — Pod Affinity & Anti-Affinity

Why the topology key, not just 'same node' or 'different node', is what actually spreads replicas across real failure domains.

kubernetes scheduling book

5 — Taints & Tolerations

Why taints repel pods by default while tolerations only grant permission to land there — they never force placement the way affinity does.

kubernetes scheduling book

6 — Priority Classes

Why priority classes only matter at eviction and preemption time under resource pressure, not as a routine scheduling hint.

kubernetes scheduling book

7 — Topology Spread Constraints

Why maxSkew is the one knob that finally balances replicas evenly across zones without the all-or-nothing rigidity of anti-affinity.

kubernetes scheduling book

8 — Node Maintenance

Why cordon-then-drain, not a bare delete, is the only sequence that respects PodDisruptionBudgets while evacuating a node.

kubernetes scheduling book

9 — Cluster Lifecycle

Why control-plane and etcd lifecycle, not just worker node churn, is the part of 'cluster lifecycle' most operators under-plan for.

kubernetes scheduling book