Memory-bound analytics workers on Kubernetes

Sixty-four analysis pods keep segments resident and request 9 GiB each. A 16-vCPU worker pool reserves a combined 16% for the system and agents.

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
14nodes 13 packed · 1 spare
Pods per worker
5pods Memory limiting
Node cost
$7,256.20/ month

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

Node packing by resource
Node packing by resource64 pods on 13 workers with 1 spare. Memory sets the pod limit.Packed worker × 125 podsCPURAMPartial worker4 podsCPURAMFailure reserve0 podsCPURAMCPU requestRAM requestReservedOpen
Detailed results
Allocatable CPU per worker13.44 vCPU
Allocatable memory per worker53.76 GiB
Slots from CPU requests53 pods
Slots from memory requests5 pods
Packed worker CPU requested9.158 %
Packed worker memory requested82.418 %
Unused packed CPU158.72 vCPU
Unused packed memory122.88 GiB
CPU limits / packed allocatable36.63 %
Memory limits / packed allocatable109.89 %

What to try

Memory sets the limit at five pods per worker, leaving CPU available. Compare a memory-optimized shape by checking its actual allocatable ratio outside the balanced presets.

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

Why is cluster-wide free memory misleading for analytics pods?

A pod’s entire 9 GiB request must fit on one worker. Several workers with 3 GiB free cannot combine their remaining capacity to admit it.

Should I reduce analytics memory requests to fit a sixth pod?

Measure working sets during peak partitions and failure replay. A lower request improves placement but can raise eviction risk when nodes are under memory pressure.

Open Kubernetes node sizing calculator