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

Node packing by resource
Node packing by resource250 pods on 5 workers with 1 spare. Pod cap sets the pod limit.Packed worker × 455 podsCPURAMPartial worker30 podsCPURAMFailure reserve0 podsCPURAMCPU requestRAM requestReservedOpen
Detailed results
Allocatable CPU per worker3 vCPU
Allocatable memory per worker12 GiB
Slots from CPU requests120 pods
Slots from memory requests120 pods
Packed worker CPU requested41.667 %
Packed worker memory requested41.667 %
Unused packed CPU8.75 vCPU
Unused packed memory35 GiB
CPU limits / packed allocatable166.667 %
Memory limits / packed allocatable125 %

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.

Open Kubernetes node sizing calculator