ML Pods are Pending with `Insufficient nvidia.com/gpu` on brand-new GPU nodes.
IntermediateTroubleshootingScheduling and Pending Pods
Answer
Likely causes → The node does not advertise the extended resource because the NVIDIA device plugin (or GPU Operator) is not running on it, drivers are not installed, or the device plugin DaemonSet does not tolerate the GPU taint.
Diagnose →
kubectl get node gpu-node-1 -o jsonpath='{.status.allocatable}' | jq
kubectl get ds -n kube-system | grep -i nvidia
kubectl logs -n gpu-operator -l app=nvidia-device-plugin-daemonset --tail=50
Fix → Install the device plugin / GPU Operator with tolerations for your GPU taint, and use a GPU AMI with drivers (EKS accelerated AMI). Once nvidia.com/gpu appears in allocatable, Pods schedule.
Prevent → Make the device plugin part of the GPU node pool bootstrap and test GPU allocation in the pool's smoke test.
More on Scheduling and Pending Pods
Pods are Pending with `0/5 nodes are available: 5 Insufficient cpu. preemption: 0/5 nodes are available: 5 No preemption victims found for incoming pod.`Beginner`kubectl top nodes` shows nodes at 20% CPU, yet new Pods fail with `Insufficient cpu`. Explain it to a developer.Beginner`0/4 nodes are available: 1 node(s) had untolerated taint {node-role.kubernetes.io/control-plane: }, 3 node(s) had untolerated taint {dedicated: gpu}`.BeginnerA StatefulSet Pod is Pending with `pod has unbound immediate PersistentVolumeClaims`.Beginner`0/3 nodes are available: 3 node(s) didn't match Pod's node affinity/selector.`BeginnerA 6-replica Deployment has 3 Pods Running and 3 Pending: `0/3 nodes are available: 3 node(s) didn't match pod anti-affinity rules`.Intermediate