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 resultsInputs
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.
| Allocatable CPU per worker | 58.88 vCPU |
|---|---|
| Allocatable memory per worker | 235.52 GiB |
| Slots from CPU requests | 16 pods |
| Slots from memory requests | 47 pods |
| Packed worker CPU requested | 95.109 % |
| Packed worker memory requested | 33.967 % |
| Unused packed CPU | 8.64 vCPU |
| Unused packed memory | 466.56 GiB |
| CPU limits / packed allocatable | 217.391 % |
| Memory limits / packed allocatable | 81.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.