Packing 72 checkout API pods
A checkout workload reserves 750 millicores and 1.1 GiB per pod. The platform team is considering an eight-vCPU worker size and keeps one node for failure recovery.
Jump to resultsInputs
Results
Runs in your browser- Workers needed
- 9nodes 8 packed · 1 spare
- Pods per worker
- 9pods CPU limiting
- Node cost
- $2,233.80/ month
Combined pod limits exceed packed capacity. Test what happens when many pods burst together.
| Allocatable CPU per worker | 7.04 vCPU |
|---|---|
| Allocatable memory per worker | 28.16 GiB |
| Slots from CPU requests | 9 pods |
| Slots from memory requests | 25 pods |
| Packed worker CPU requested | 95.881 % |
| Packed worker memory requested | 35.156 % |
| Unused packed CPU | 2.32 vCPU |
| Unused packed memory | 146.08 GiB |
| CPU limits / packed allocatable | 191.761 % |
| Memory limits / packed allocatable | 57.528 % |
What to try
CPU caps each worker at nine pods. Test a 650-millicore request only if load-test measurements cover the peak transaction mix and the failover case.
How the estimate works
Pods per node = min(CPU slots, memory slots, pod cap)
Node allocatable is the preset capacity minus the combined kubelet, OS, and DaemonSet shares. The workload uses identical pods, so rounding each resource’s slot count down gives an exact fit under these assumptions.
Limits estimate burst demand. Kubernetes uses requests to place pods. The chart shows one fully packed worker, any partially packed worker, and the optional spare.
Unused capacity on the packed workers measures the cost of resource imbalance and partially filled nodes. N+1 covers one worker failure under this model. Model zones, affinities, storage, and topology spread separately. Cost uses 730 hours per month.
Frequently asked questions
Why do 72 checkout pods need nine workers at nine pods per worker?
Eight workers provide the 72 workload slots. The ninth supplies one full worker of spare capacity for failover.
Can autoscaling remove the spare checkout worker?
A scale-down policy can remove spare capacity if it sees no scheduling demand. Protect the intended reserve with minimum pool size, priority, or an equivalent policy.