A canary rollout with balanced resource requests
A canary deployment needs room for 23 simultaneous replicas. Its 0.95 vCPU and 3.8 GiB requests match the CPU-to-memory ratio of the worker pool.
Jump to resultsInputs
Results
Runs in your browser- Workers needed
- 5nodes 4 packed · 1 spare
- Pods per worker
- 7pods CPU + Memory limiting
- Node cost
- $1,423.50/ month
Combined pod limits exceed packed capacity. Test what happens when many pods burst together.
| Allocatable CPU per worker | 6.96 vCPU |
|---|---|
| Allocatable memory per worker | 27.84 GiB |
| Slots from CPU requests | 7 pods |
| Slots from memory requests | 7 pods |
| Packed worker CPU requested | 78.484 % |
| Packed worker memory requested | 78.484 % |
| Unused packed CPU | 5.99 vCPU |
| Unused packed memory | 23.96 GiB |
| CPU limits / packed allocatable | 115.661 % |
| Memory limits / packed allocatable | 99.138 % |
What to try
Seven replicas fit per worker under both constraints. Enter the peak rollout pod count, including surge replicas, so the partial worker in the chart reflects maximum concurrent demand.
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
Do terminating replicas count toward canary rollout capacity?
They can still hold their node allocation while terminating. Include that overlap in the peak when a drain or shutdown grace period is long.
Why do CPU and memory both limit this canary pool?
The pod request ratio matches the worker ratio, and the model applies equal percentages of reservation to both resources. Both reach the same integer slot count.