Deployment and Orchestration of ML and AI Workflows

GPU inference pods on Amazon EKS scale out under a Horizontal Pod Autoscaler that reads a GPU-utilization metric from the NVIDIA DCGM exporter. During traffic peaks, new pods stay Pending because no node has a free nvidia.com/gpu. Which change lets the workload keep scaling?

Show the answer

Correct answerB. Add Karpenter with a NodePool that launches GPU instance types

AWhy not this: A higher replica limit lets the autoscaler create more pods, but they stay Pending without GPU nodes to run on.

BWhy this is right: Karpenter sees pods that cannot be scheduled and launches GPU nodes so they can run.

CWhy not this: Changing the pod metric to CPU changes when pods are added but adds no GPU capacity, and CPU is a poor signal for GPU inference load.

DWhy not this: Prefix delegation raises the number of pod IP addresses per node; the pods are blocked on GPUs, not IP addresses.

Pending pods that request GPUs need new GPU nodes, so a node autoscaler such as Karpenter (or Cluster Autoscaler with a GPU node group) must add capacity while the Horizontal Pod Autoscaler adds pods. More replicas or a different pod metric only create more Pending pods, and prefix delegation adds pod IP addresses, not GPUs.