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 results

Inputs

Pod workload
vCPU
GiB
vCPU
GiB
Worker node pool

Subtract system pods from the workload pod cap if they count against the node’s limit.

%
%
USD/hour

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.

Node packing by resource
Node packing by resource420 pods on 30 workers with 0 spare. CPU sets the pod limit.Packed worker × 3014 podsCPURAMCPU requestRAM requestReservedOpen
Detailed results
Allocatable CPU per worker28.8 vCPU
Allocatable memory per worker115.2 GiB
Slots from CPU requests14 pods
Slots from memory requests46 pods
Packed worker CPU requested97.222 %
Packed worker memory requested30.382 %
Unused packed CPU24 vCPU
Unused packed memory2,406 GiB
CPU limits / packed allocatable97.222 %
Memory limits / packed allocatable42.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.

Open Kubernetes node sizing calculator