g4dn.xlarge as an EKS node

4 vCPU16 GiBx86_64Intel Xeon Family1 GPUAWS us-east-1G4DN Extra Large

Where the g4dn.xlarge goes

Default EKS setup: EKS, VPC CNI default (ENI limit).

CPU3.72 of 4 vCPU left for your pods
Memory15.05 GiB of 16 GiB left for your pods
your podsDaemonSets (200m, 300 MiB assumed)kubelet reservedeviction
29max pods per node
$383.98on demand / month · $0.5260/h
$210.04spot / month (varies)

Will my pods fit on one g4dn.xlarge?

g4dn.xlarge EKS max pods and allocatable memory — quick answers

What kubelet reserves on g4dn.xlarge

SetupMax podskube-reserved CPUMemory reserved + evictionAllocatable CPUAllocatable memoryMemory usable
EKS, VPC CNI default (ENI limit)
secondary IPs per ENI
2980m574 Mi + 100 Mi3.9215.34 GiB95.9%
EKS, prefix delegation
ENABLE_PREFIX_DELEGATION=true
11080m1465 Mi + 100 Mi3.9214.47 GiB90.4%

How these numbers are computed: reservation formulas. How many subnet IPs a g4dn.xlarge takes with the VPC CNI: EKS max pods and IP calculator. Check a live node with kubectl describe node → Allocatable.

How many pods fit on one g4dn.xlarge

Assumes DaemonSets (CNI, kube-proxy, log and metrics agents) request 200m CPU, 300 Mi and 3 pods per node. Try your own numbers in the node calculator.

Pod requests (CPU / memory)EKS, VPC CNI default (ENI limit)EKS, prefix delegation$ per pod / month
100m / 128 Mi2637$14.77
250m / 256 Mi1414$27.43
250m / 512 Mi1414$27.43
500m / 512 Mi77$54.85
500m / 1024 Mi77$54.85
1000m / 1024 Mi33$127.99
1000m / 2048 Mi33$127.99
2000m / 4096 Mi11$383.98
4000m / 8192 Mi00—

Similar EKS node types

TypevCPUGiBAlloc CPUAlloc memoryMax pods$/month$ per alloc GiB
g6f.xlarge4163.9215.03 GiB58$173.38$11.54
g4ad.xlarge4163.9215.57 GiB8$276.33$17.75
g6.xlarge4163.9215.03 GiB58$587.50$39.09
g5.xlarge4163.9215.03 GiB58$734.38$48.86
g3s.xlarge430.53.9228.97 GiB110$547.50$18.90
g5g.xlarge483.927.03 GiB58$306.60$43.61
g5g.2xlarge8167.9115.03 GiB58$405.88$27.00
g6e.xlarge4323.9231.03 GiB58$1,358.53$43.78

Closest match on other clouds

TypevCPUGiBAlloc CPUAlloc memoryMax pods$/month$ per alloc GiB
g2-standard-44163.9213.30 GiB110$107.16$8.06
g2-standard-88327.9128.34 GiB110$214.32$7.56
g2-standard-12124811.9043.38 GiB110$321.47$7.41
a2-highgpu-1g128511.9078.16 GiB110$539.82$6.91
g2-standard-16166415.8958.42 GiB110$428.63$7.34
a2-ultragpu-1g1217011.90159.74 GiB110$832.72$5.21