AWS Builder Center

GPU placement on EKS, from the node up

GPU placement on EKS, from the node up

 GPU on EKS  covers the GPU Operator, sharing modes, NCCL and metrics, and  GPU on AWS  covers instance choice and sharing. This page covers the layer between them: how a GPU, its CPU cores, its memory and its network card end up on the same NUMA node, and which parts of that EKS already configures.
source
date
what it is
LearnKube, GPU-Enabled Platforms on Kubernetes V2
September 2025, 202 pages
GPU multi-tenancy: why GPUs escape cgroups, sharing by orchestration or by enforcement, monitoring, then vCluster, with a KAI-Scheduler demo on EKS (p189–200)
kubernetes.io: Schedule GPUs, Topology Manager, Dynamic Resource Allocation
scraped August 2026
the upstream mechanisms
Kubernetes blog, Advanced scheduling in Kubernetes
March 2017
affinity, taints and custom schedulers, as of 1.6
Manan Paliwal, Why Kubernetes is slowing down your GPUs
July 2026
GPU and RDMA NIC on different sockets; proposes Kueue, Topology Manager and the NVIDIA Network Operator
Jimmy Song: HAMi v2.9 post, the handbook's HAMi chapter, AI inference belongs on Kubernetes
2025–2026
HAMi and the case for inference on Kubernetes
The book has nothing on Topology Manager, NUMA, NVLink or EFA placement, and mentions DRA once. Those come from the other sources and from EKS's own node code.

1. What the EKS node already does

EKS's AL2023 AMIs configure the kubelet and containerd through nodeadm. Reading its source ( awslabs/amazon-eks-ami , AMI release v20260930) settles four things that are usually left as open questions:
setting
nodeadm
why it matters
kubelet  DynamicResourceAllocation 
enabled from kubelet 1.33, with the comment "EKS enables DRA on 1.33+"
DRA drivers work on the node one release before DRA went GA upstream in 1.34
containerd CDI
on by default from 1.32 ( enable_cdi )
DRA drivers inject devices through CDI
NVIDIA as containerd's default runtime
 default_runtime_name = "nvidia"  on NVIDIA AMIs
HAMi's prerequisite is met without the GPU Operator's toolkit
node label  nvidia.com/gpu.present=true 
added from 1.35 when NVIDIA devices are detected
a NodePool or affinity can select GPU nodes without Node Feature Discovery
The AL2023 NVIDIA AMIs of v20260930 are built for Kubernetes 1.31 to 1.37. The 1.37 image carries NVIDIA driver 580.178.04 (with 595.91.07 as an alternative), nvidia-container-toolkit 1.20.1, EFA 3.3.0 and containerd 2.2.7.
This conflicts with  GPU on AWS , which reports a 1.33 lab with  resource.k8s.io  disabled. On EKS 1.33 the kubelet has DRA on. Whether the API server serves  resource.k8s.io  on EKS 1.33 was not checked, so that lab result needs a retest or a note that it was not on EKS.

2. Topology settings you can set

Kubernetes' Topology Manager (stable since 1.27) makes the kubelet align a pod's CPUs, memory and devices on one NUMA node:
  • Policies:  none ,  best-effort ,  restricted ,  single-numa-node .
  • Scopes:  container  or  pod .
  • Policy options:  prefer-closest-numa-nodes  (GA in 1.32) and  max-allowable-numa-nodes  (GA in 1.35).
It only aligns anything if the CPU manager is  static  and, for memory, the memory manager is  Static .
On AL2023,  NodeConfig.spec.kubelet.config  accepts any  KubeletConfiguration  field. nodeadm writes it as a drop-in,  /etc/kubernetes/kubelet/config.d/40-nodeadm.conf , over its own defaults:
apiVersion: node.eks.aws/v1alpha1
kind: NodeConfig
spec:
kubelet:
config:
cpuManagerPolicy: static
topologyManagerPolicy: single-numa-node
topologyManagerScope: pod
memoryManagerPolicy: Static
reservedMemory: # must equal kubeReserved + systemReserved + evictionHard, per NUMA node
- numaNode: 0
limits: {memory: <computed>}
The trap is  reservedMemory . nodeadm computes reserved memory as 11 MiB × maxPods + 255 MiB, plus an eviction threshold of 100 MiB, so the correct  reservedMemory  depends on the instance type and on maxPods. Copy one NodeConfig from a p4d to a p5, or change maxPods with prefix delegation, and the kubelet refuses to start. Compute the value per NodePool.
On Bottlerocket, the same settings are first-class:
  •  settings.kubernetes.cpu-manager-policy ;
  •  memory-manager-policy  and  memory-manager-reserved-memory ;
  •  topology-manager-policy  and  topology-manager-scope ;
  •  topology-manager-policy-options , added in Bottlerocket v1.60.0 (May 2026). The current release is v1.66.0.
On Auto Mode, none of this is configurable. Auto Mode GPU nodes are for workloads that do not need NUMA pinning.

3. What already happens without any of that

The NVIDIA device plugin, with plain  nvidia.com/gpu  requests, already does two pieces of placement:
  • It reports each GPU's NUMA node to the kubelet, so Topology Manager has hints to work with once enabled.
  • It implements  GetPreferredAllocation  with an NVLink-aware best-effort policy. A pod asking for 2 of 8 GPUs on a p4d or p5 gets two GPUs that share NVLink, not two at random.
Manan Paliwal's post credits Kueue with choosing GPUs inside a node. Kueue does not; the device plugin and the kubelet do. Kueue admits workloads to capacity.
What is missing is scheduler awareness. The kubernetes.io page states the limitation: the scheduler does not know about NUMA. It can bind a pod to a node where Topology Manager then rejects it with  TopologyAffinityError , and the pod is not rescheduled. KAI-Scheduler, v0.18.3 (6 October 2026), has a NUMA plugin that reads  NodeResourceTopology  objects and places pods where alignment will succeed. It needs exactly the node settings in §2. That makes it the combination for training pods that must keep GPU, CPU and NIC on one socket: nodeadm topology settings plus KAI.
The NIC half on AWS is EFA, not the Network Operator. The post's fix uses the NVIDIA Network Operator, OFED, Multus and macvlan. On EKS, RDMA is EFA, requested as  vpc.amazonaws.com/efa  and used through  aws-ofi-nccl . Whether the EFA device plugin reports NUMA hints to Topology Manager was not established here. Until it is, check alignment on a running pod rather than assume it.

4. DRA on EKS today


state, 8 October 2026
Kubernetes DRA
beta in 1.32 (off by default), GA in 1.34, locked on in 1.35; the docs' "stable since v1.35" is the lock, not the GA
EKS node
kubelet DRA on from 1.33 (nodeadm); CDI on from 1.32
NVIDIA DRA driver
moved to  kubernetes-sigs/dra-driver-nvidia-gpu , v0.5.0 (19 August 2026), needs Kubernetes 1.32+; GPU allocation is still behind  gpuResourcesEnabledOverride=true . Adds a NUMA attribute behind an alpha gate, consumable-capacity sharing, and MPS
an EKS demo for the driver
none. Demos exist for GKE, kind, nvkind and OpenShift. A community pull request adding an AL2023 demo was closed unmerged, and an EKS issue was closed "not planned"
HAMi and DRA
HAMi v2.10 removed DRA from the main chart; HAMi-DRA (0.2.3) is separate and converts device-plugin requests into DRA claims through a webhook
Practical reading: on EKS, DRA for GPUs is technically reachable on 1.34+ AL2023 NVIDIA nodes, since the kubelet, CDI and runtime are ready. But nobody supports it end to end. The device plugin, with time slicing, MIG or HAMi, remains the supported path. DRA's own scheduler does not preempt for DRA resources, which matters for clusters that mix priorities.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article