Kubernetes Node Sizing & Allocatable Resource Calculator

Last updated

Allocatable is capacity minus a tiered CPU share and a memory reservation: 11 MiB per ENI-limited max pod plus 255 MiB on EKS; 25% of the first 4 GiB tapering to 2% on GKE, capped on 1.37 Container-Optimized OS pools at 15 MiB per pod plus 500 MiB; 20 MB per max pod plus 50 MB, at most 25%, on AKS; and 100 MiB for eviction. After DaemonSets, pods per node is the tightest of CPU, memory and max pods.

Nodes needed –
Your pods per node –
Limited by –
Allocatable memory, GiB –
Allocatable CPU, millicores –
Max pods per node –
Memory packing efficiency –
CPU packing efficiency –
Nodes and fee per month –
Where one full node's resources go
Every preset on this platform, same workload

Prices last verified November 2, 2026. Figures are estimates in US dollars; confirm with each provider before committing.

Pick a node type and describe the workload to see how much of each node your pods may use, how many fit, and what the nodes cost. At the defaults, 40 pods requesting 250 millicores and 2 GiB each on EKS m7i.xlarge nodes, every node keeps 15.03 GiB of its 16 GiB allocatable and fits 7 pods before memory runs out, so the workload needs 6 nodes at $956.01 a month, control plane included.

Capacity is not what pods get

The scheduler places a pod only where a node's allocatable resources still cover its requests. Kubernetes' node allocatable design defines that figure as:

allocatable = capacity − kube-reserved − system-reserved − eviction threshold

Kube-reserved covers the kubelet and container runtime, system-reserved the operating system's daemons, and the eviction threshold is the free memory at which the kubelet starts evicting pods. Upstream, both reservations are empty by default and the hard eviction threshold for memory is 100 MiB, so a bare kubelet hands pods nearly the whole machine. The managed platforms set their own: EKS and AKS document only kube-reserved and the eviction threshold, and GKE a single system reservation.

From Borg to managed node pools

Google's 2015 EuroSys paper on Borg, its internal cluster manager, credits Borg's high utilization to admission control, efficient task-packing, over-commitment and machine sharing. Kubernetes 1.2, released on 16 March 2016, added the --kube-reserved and --system-reserved kubelet flags and supported 100 pods per node. Kubernetes 1.6, released on 28 March 2017, began enforcing allocatable on every pod when reservations are set and started subtracting the hard eviction threshold from capacity. The project's scalability guidance today is no more than 110 pods per node.

In November 2019 the Amazon EKS AMI began setting kube-reserved from each instance's CPU and memory with GKE's formula, and in April 2020 it switched memory to 11 MiB per possible pod plus 255 MiB, because the kubelet's needs grow with pod density. Amazon's VPC CNI added prefix delegation in version 1.9.0, released on 26 July 2021. AKS reworked its rule for Kubernetes 1.29 in its release of 17 March 2024: the eviction threshold fell from 750 MiB to 100 MiB and kube-reserved became tied to max pods, which Microsoft says cuts it by up to 20%. It does reserve less at low max pods, but at Azure CNI Overlay's 250-pod default a 16 GiB node now holds back 4,196 MiB with eviction, against 3,412.4 MiB under the old rule. GKE followed on 4 September 2026, when node pools created on 1.37 or later began reserving less memory and at most one vCPU.

How each platform reserves

EKS. On Amazon Linux 2023 nodes, nodeadm reserves 6% of the first core, 1% of the second, 0.5% of the third and fourth and 0.25% of every core after that, rounding each band down to whole millicores. Memory follows max pods:

EKS memory reserved = 11 × ENI max pods + 255 MiB

nodeadm computes this before your own kubelet settings apply. Managed node groups and AWS's prefix-delegation setup raise max pods through those settings, so the reservation stays on the ENI figure unless a node sets a maxPodsExpression.

GKE. CPU uses the same tiers. Memory in node pools created on 1.36 or earlier is 25% of the first 4 GiB, 20% of the next 4, 10% of the next 8, 6% of the next 112 and 2% above 128 GiB, or 255 MiB on machines under 1 GiB. Pools created on 1.37 or later take the smaller of that and 15 MiB per max pod plus 500 MiB on Container-Optimized OS or 700 MiB on Ubuntu, and cap CPU at 1 vCPU. An upgraded pool keeps the old formula, and as of 26 October 2026 the default Regular channel still creates 1.36 clusters, so the calculator defaults to the old tiers.

AKS. From 1.29, AKS reserves the smaller of 20 MB per max pod plus 50 MB and a quarter of the node's memory; the calculator reads MB as MiB. CPU follows Microsoft's table, from 60 millicores on one core to 740 on 64, and the calculator draws straight lines between the published points.

All three then hold back 100 MiB for the eviction threshold.

How many pods a node may run

On EKS every pod takes an address from the VPC subnet, so the default limit comes from the instance's network interfaces:

EKS max pods = ENIs × (IPs per ENI − 1) + 2

The 2 covers the VPC CNI and kube-proxy pods, which take no pod address. An m7i.xlarge has 4 interfaces of 15 addresses each, so 58 pods. With prefix delegation each slot carries 16 addresses and the limit becomes 110, or 250 above 30 vCPUs, the caps managed node groups enforce with or without it. The calculator keeps any higher ENI limit. GKE Standard allows 110 pods per node by default and up to 512. On AKS the default depends on the network plugin: 250 on Azure CNI Overlay, which AKS uses when no plugin is named, 110 on Pod Subnet and kubenet, and 30 on the legacy Node Subnet.

Pods per node is then the tightest of three limits:

pods per node = min(⌊free CPU ÷ CPU request⌋, ⌊free memory ÷ memory request⌋, max pods − DaemonSet pods)

Free CPU and memory are allocatable minus DaemonSet requests, and the node count is the pods to run divided by pods per node, rounded up.

The presets

Prices are on-demand Linux rates in US East (N. Virginia) for EKS, Iowa (us-central1) for GKE and East US for AKS, verified November 2, 2026.

Node Platform vCPUs Memory Per hour
m7i.large EKS 2 8 GiB $0.1008
m7i.xlarge EKS 4 16 GiB $0.2016
m7i.2xlarge EKS 8 32 GiB $0.4032
m7g.xlarge EKS 4 16 GiB $0.1632
c7g.2xlarge EKS 8 16 GiB $0.29
r7i.xlarge EKS 4 32 GiB $0.2646
e2-standard-2 GKE 2 8 GiB $0.067011
e2-standard-4 GKE 4 16 GiB $0.134023
e2-standard-8 GKE 8 32 GiB $0.268046
e2-standard-16 GKE 16 64 GiB $0.536091
n2-standard-4 GKE 4 16 GiB $0.194236
n2-standard-8 GKE 8 32 GiB $0.388472
Standard_D2s_v5 AKS 2 8 GiB $0.096
Standard_D4s_v5 AKS 4 16 GiB $0.192
Standard_D8s_v5 AKS 8 32 GiB $0.384
Standard_D16s_v5 AKS 16 64 GiB $0.768

A worked example

The defaults put 40 pods, each requesting 250 millicores and 2,048 MiB, on EKS m7i.xlarge nodes, with four DaemonSet pods requesting 350 millicores and 384 MiB on every node. Each node has 4,000 millicores and 16,384 MiB. nodeadm reserves 80 millicores and 11 × 58 + 255 = 893 MiB, so after the 100 MiB eviction threshold 3,920 millicores and 15,391 MiB, or 15.03 GiB, are allocatable. The DaemonSets leave 3,570 millicores, 15,007 MiB and 54 pod slots. CPU would fit 14 pods and slots 54, but memory fits only 7, so 40 pods need 6 nodes, each with 671 MiB to spare.

On paper 16,384 ÷ 2,048 = 8 pods per node, and 5 nodes would do; the reservations and DaemonSets cost a sixth node, $147.17 a month. Six nodes at $0.2016 an hour over the 730-hour month cost $883.01, and the control plane adds $73.00, for $956.01. Requests fill 83.3% of the memory paid for but only 41.7% of the CPU. The comparison table shows the fix: three memory-optimized r7i.xlarge nodes fit 14 pods each, now limited by CPU, for $652.47.

Whether a 16 GiB node leaves about 13.8 GiB for pods depends on the platform. After the default 384 MiB of DaemonSets the rules leave 14.66 GiB on that EKS node, 12.93 GiB on a GKE e2-standard-4 in a pool created before 1.37 and 13.43 GiB in a 1.37 Container-Optimized OS pool, and 11.53 GiB on an AKS Standard_D4s_v5 at Overlay's 250 pods or 13.33 GiB at 110. So 13.8 GiB holds on EKS with up to about 1,260 MiB of DaemonSet requests, but not on AKS's default or older GKE pools.

What the calculator leaves out

Capacity here is the advertised size, and the kubelet can report less: GKE's own example shows a 4-vCPU node with 16,393,264 KiB of capacity, about 375 MiB short of 16 GiB, and 13,498,416 KiB allocatable. The default's 671 MiB of spare memory per node survives a gap that size, but a thinner margin can lose a pod.

GKE reserves 1,060 millicores on shared-core E2 machines and an extra buffer for Image streaming, AKS reserves another 2 GB on Windows nodes, and Bottlerocket, burstable instances, EKS Auto Mode, GKE Autopilot and AKS Automatic are not modelled.

The cost counts node hours and the control plane only, at list prices with no Savings Plans, committed use or spot discounts. Disks, load balancers, NAT and egress come on top, including a managed OS disk per AKS node, since Dsv5 VMs cannot use ephemeral ones. The $0.10-an-hour fee is EKS standard support, GKE's cluster management fee and the AKS Standard tier. The AKS Free tier has no cluster management fee, and GKE's $74.40 monthly credit covers one zonal or Autopilot cluster per billing account. Upgrades need room too: AKS plans for n + 1 nodes during a rolling upgrade, so budget a spare node of headroom.

Prices and reservation rules change without notice, and figures here are estimates, not quotes; this site is not affiliated with any provider named above. See the site disclaimer.

Frequently asked questions

How much memory does a 16 GiB Kubernetes node leave for pods?

It depends on the platform and its max pods setting. Before DaemonSets, an EKS m7i.xlarge with its 58-pod ENI limit keeps 15.03 GiB allocatable. A GKE e2-standard-4 keeps 13.30 GiB in a node pool created on 1.36 or earlier and 13.80 GiB in a 1.37 Container-Optimized OS pool. An AKS Standard_D4s_v5 keeps 11.90 GiB on Azure CNI Overlay's 250-pod default and 13.71 GiB at 110 pods. Your DaemonSet requests come off after that.

Why does AKS reserve a quarter of the memory on small nodes?

From Kubernetes 1.29, AKS reserves 20 MB for every pod the node may run plus 50 MB, but never more than 25% of memory. Azure CNI Overlay, the default network plugin, allows 250 pods, so on a 16 GiB node the 25% cap of 4,096 MiB applies. Pod Subnet and kubenet default to 110 pods, which reserves 2,250 MiB and leaves 13.71 GiB; legacy Node Subnet defaults to 30, which reserves 650 MiB and leaves 15.27 GiB.

Does prefix delegation fit more pods on an EKS node?

Only when the ENI limit is what stops you. Prefix delegation lifts an m7i.xlarge from 58 max pods to the 110 cap, and the memory reservation stays at 893 MiB, because nodeadm sizes it from the ENI figure unless you set a maxPodsExpression. The default 2 GiB pods still stop at 7 per node. Pods requesting 50 millicores and 128 MiB stop at 54 per node under the ENI limit and reach 71 with prefix delegation, where CPU runs out.

What should I enter for DaemonSet requests?

Enter what your DaemonSets request on one node in total; kubectl describe node lists every pod's requests. The defaults, 4 pods requesting 350 millicores and 384 MiB, stand for the Amazon VPC CNI's aws-node pod, whose two containers request 25 millicores each and no memory; kube-proxy, counted as a pod with no request, although Kubernetes' own GCE scripts request 100 millicores and 50 MiB for it; and a metrics agent and a log shipper sized like the commented examples in the Datadog and Fluent Bit Helm charts, 200 millicores and 256 MiB, and 100 millicores and 128 MiB. Both charts ship with no requests set.

Why do GKE node pools created on 1.37 reserve less memory?

GKE 1.37 reached the Rapid channel on 4 September 2026 with a new default for new node pools: memory reserved is the smaller of the old tiers and 15 MiB per max pod plus 500 MiB, or 700 MiB on Ubuntu, and CPU reserved is capped at 1 vCPU. On a 16 GiB node with 110 max pods that is 2,150 MiB instead of 2,662.4 MiB. A pool keeps the formula it was created with, even after upgrades, and as of 26 October 2026 the default Regular channel still creates 1.36 clusters.

Is a bigger node always cheaper per pod?

No; the shape matters more than the size. With the default 40 pods of 250 millicores and 2 GiB on EKS, six m7i.xlarge nodes and three m7i.2xlarge nodes both cost $956.01 a month with the control plane fee, while three memory-optimized r7i.xlarge nodes fit 14 pods each for $652.47. The table under the results compares every preset on the chosen platform.

Sources

  1. Node Allocatable Resources (design proposal), Kubernetes SIG Node, GitHub
  2. Reserve Compute Resources for System Daemons, Kubernetes, 2026
  3. Kubernetes v1.2 changelog, Kubernetes, GitHub, 2016
  4. Kubernetes v1.6 changelog, Kubernetes, GitHub, 2017
  5. Considerations for large clusters, Kubernetes
  6. Large-scale cluster management at Google with Borg, Google Research, 2015
  7. nodeadm kubelet config.go (v20261031), Amazon EKS AMI, GitHub, 2026
  8. nodeadm eni_max_pods.go (v20261031), Amazon EKS AMI, GitHub, 2026
  9. Set kubeReserved and evictionHard in the kubelet-config (pull request 367), Amazon EKS AMI, GitHub, 2019
  10. Reducing memory allocated in kubeReserved (pull request 419), Amazon EKS AMI, GitHub, 2020
  11. AL2 max-pods-calculator.sh, Amazon EKS AMI, GitHub
  12. Choose an optimal Amazon EC2 node instance type, Amazon Web Services
  13. Amazon VPC CNI plugin increases pods per node limits, Amazon Web Services, 2021
  14. Amazon VPC CNI v1.9.0 release, Amazon VPC CNI, GitHub, 2021
  15. Increase the available IP addresses for your Amazon EKS node, Amazon Web Services
  16. About GKE node sizing, Google Cloud
  17. GKE release notes, Google Cloud, 2026
  18. About release channels, Google Cloud
  19. Configure maximum Pods per node, Google Cloud
  20. Node resource reservations in Azure Kubernetes Service (AKS), Microsoft Learn, 2026
  21. IP address planning in Azure Kubernetes Service (AKS), Microsoft Learn
  22. Configure Azure CNI Overlay networking in AKS, Microsoft Learn
  23. CNI networking in Azure Kubernetes Service (AKS), Microsoft Learn
  24. AKS changelog, Microsoft, GitHub
  25. AKS Free, Standard and Premium pricing tiers, Microsoft Learn
  26. Amazon EC2 On-Demand Pricing, Amazon Web Services
  27. Amazon EKS pricing, Amazon Web Services
  28. Google Kubernetes Engine pricing, Google Cloud
  29. General-purpose machine family pricing, Google Cloud
  30. Azure Retail Prices API, Microsoft
  31. Dsv5 size series, Microsoft Learn
  32. aws-k8s-cni.yaml, Amazon VPC CNI, GitHub
  33. Datadog Helm chart values.yaml, Datadog, GitHub
  34. Fluent Bit Helm chart values.yaml, Fluent, GitHub
  35. cluster/gce/gci/configure-helper.sh, Kubernetes, GitHub