Large Kubernetes workers for CI runners

A CI fleet runs up to 48 build pods in parallel. Each reserves 3.5 vCPU and 5 GiB. The proposed 64-vCPU workers run a small system and DaemonSet reservation.

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
4nodes 3 packed · 1 spare
Pods per worker
16pods CPU limiting
Node cost
$7,008.00/ month

Combined pod limits exceed packed capacity. Test what happens when many pods burst together.

Node packing by resource
Node packing by resource48 pods on 3 workers with 1 spare. CPU sets the pod limit.Packed worker × 316 podsCPURAMFailure reserve0 podsCPURAMCPU requestRAM requestReservedOpen
Detailed results
Allocatable CPU per worker58.88 vCPU
Allocatable memory per worker235.52 GiB
Slots from CPU requests16 pods
Slots from memory requests47 pods
Packed worker CPU requested95.109 %
Packed worker memory requested33.967 %
Unused packed CPU8.64 vCPU
Unused packed memory466.56 GiB
CPU limits / packed allocatable217.391 %
Memory limits / packed allocatable81.522 %

What to try

Three workers hold the 48 builds, with a fourth to absorb one failure. Check the CPU limit aggregate to understand how much compilation burst demand can contend on each worker.

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

Should disk space be sized separately for Kubernetes CI workers?

Yes. Image layers, checkouts, caches, and parallel build artifacts can consume ephemeral storage before CPU or RAM becomes constrained.

Can a large CI worker create concentrated failure impact?

Losing one large worker interrupts more builds at once. Compare smaller shapes if retry storms or scheduling delay matter more than aggregate cost.

Open Kubernetes node sizing calculator