Kubernetes pod-density limit for small collectors
An edge fleet runs 250 lightweight collectors. Each requests little CPU and memory, but the network configuration leaves only 55 workload pod slots per worker.
Jump to resultsInputs
Results
Runs in your browser- Workers needed
- 6nodes 5 packed · 1 spare
- Pods per worker
- 55pods Pod cap limiting
- Node cost
- $744.60/ month
Combined pod limits exceed packed capacity. Test what happens when many pods burst together.
| Allocatable CPU per worker | 3 vCPU |
|---|---|
| Allocatable memory per worker | 12 GiB |
| Slots from CPU requests | 120 pods |
| Slots from memory requests | 120 pods |
| Packed worker CPU requested | 41.667 % |
| Packed worker memory requested | 41.667 % |
| Unused packed CPU | 8.75 vCPU |
| Unused packed memory | 35 GiB |
| CPU limits / packed allocatable | 166.667 % |
| Memory limits / packed allocatable | 125 % |
What to try
A larger balanced worker can leave the required node count unchanged if every worker still has 55 network slots. Try changing the cap on its own to see the effect.
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
What can set a collector pool pod cap below the kubelet default?
Available CNI addresses, reservations for DaemonSets, and managed-service limits can all constrain how many workload pods fit.
Will extra RAM reduce the collector worker count?
The current cap binds first. More RAM helps only if memory or CPU would otherwise run out before the network and kubelet slot limit.