Sizing a 420-pod spot batch pool
A nightly enrichment job needs 420 identical two-vCPU pods. Its scheduler can retry on interruption, so the estimate starts with a 32-vCPU pool and no spare.
Jump to resultsInputs
Results
Runs in your browser- Workers needed
- 30nodes 30 packed · 0 spare
- Pods per worker
- 14pods CPU limiting
- Node cost
- $28,032.00/ month
Packed capacity uses pod requests and keeps the failure reserve separate.
| Allocatable CPU per worker | 28.8 vCPU |
|---|---|
| Allocatable memory per worker | 115.2 GiB |
| Slots from CPU requests | 14 pods |
| Slots from memory requests | 46 pods |
| Packed worker CPU requested | 97.222 % |
| Packed worker memory requested | 30.382 % |
| Unused packed CPU | 24 vCPU |
| Unused packed memory | 2,406 GiB |
| CPU limits / packed allocatable | 97.222 % |
| Memory limits / packed allocatable | 42.535 % |
What to try
The live result prices a pool running 730 hours. Multiply the 30 workers by the actual billed batch hours for a job that scales to zero between runs.
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
Does the spot batch estimate include runtime lost to interruptions?
The node count covers concurrent pod slots. Retry work and replacement delays belong in the batch completion time and billed worker-hours.
What does an exact fit mean for the nightly batch pool?
Thirty workers at fourteen pods each leave no spare pod slots. A node interruption can delay the affected work until replacement capacity arrives.