All lessons in Cloud Engineering: Deploy, Operate, and Recover
Kubernetes: Schedule Within Resource Budgets
Reason about requests, limits, allocatable capacity, and why a workload remains pending.
60 minutes · Members lesson · preview
What you will learn
- Calculate scheduling capacity from allocatable resources and per-Pod requests.
- Distinguish requests, limits, observed usage, and placement constraints.
- Diagnose a pending workload and reserve capacity for a controlled rollout.
Northstar's manifest requests three replicas, but only two schedule. The nodes look mostly idle in a CPU chart. That observation does not prove the scheduler is wrong: scheduling considers declared requests and constraints, not only the most recent usage sample.
This second Deploy-phase lesson extends the workload dossier with a resource budget. The calculations are deliberately simple and explicitly omit constraints until you add them. A paper capacity result is an upper bound under its assumptions, not a promise that a real cluster will place the Pods.