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 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
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.

Node packing by resource
Node packing by resource72 pods on 8 workers with 1 spare. CPU sets the pod limit.Packed worker × 89 podsCPURAMFailure reserve0 podsCPURAMCPU requestRAM requestReservedOpen
Detailed results
Allocatable CPU per worker7.04 vCPU
Allocatable memory per worker28.16 GiB
Slots from CPU requests9 pods
Slots from memory requests25 pods
Packed worker CPU requested95.881 %
Packed worker memory requested35.156 %
Unused packed CPU2.32 vCPU
Unused packed memory146.08 GiB
CPU limits / packed allocatable191.761 %
Memory limits / packed allocatable57.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.

Open Kubernetes node sizing calculator