“Insufficient nvidia.com/gpu” means: the scheduler finds no node with enough free GPUs. GPUs are never combined across nodes, and without a device plugin there is no GPU in allocatable at all.
Symptom
kubectl -n tag02 get pod fuenf NAME READY STATUS RESTARTS AGE fuenf 0/1 Pending 0 4s
The pod fuenf (“five”) requests five GPUs on a node with eight, four of which are already taken.
Diagnosis
The scheduler's reason is in the pod's event.
kubectl -n tag02 get events --field-selector involvedObject.name=fuenf -o jsonpath='{.items[0].message}{"\n"}'
0/3 nodes are available: 1 node(s) had untolerated taint(s), 2 Insufficient
nvidia.com/gpu. preemption: 0/3 nodes are available: 1 No preemption victims found for
incoming pod, 2 Preemption is not helpful for scheduling.
Causes
GPUs takenMore GPUs requested than one node has free
A pod always gets its GPUs from exactly one node. Five GPUs only exist if one node has five free – four free here plus four there is not enough.
allocatable 0The device plugin is not running
Without the device plugin, capacity stays but allocatable drops to 0. Running pods keep their GPUs, new GPU pods stay Pending.
kubectl get node gpu-worker2 -o custom-columns='CAPACITY:.status.capacity.nvidia\.com/gpu,ALLOCATABLE:.status.allocatable.nvidia\.com/gpu' CAPACITY ALLOCATABLE 8 0
no GPU nodeNodes without GPUs are counted too
Nodes without GPUs also show up as “Insufficient” in the message. What matters is whether a GPU node has enough free GPUs in allocatable.
Fix
kubectl -n tag02 delete pod drei pod "drei" deleted from tag02 namespace kubectl -n tag02 wait --for=condition=Ready pod/fuenf --timeout=60s pod/fuenf condition met
Don't: Request GPUs “just in case”. Every requested GPU is blocked for others even if the pod does not use it – to share, you need time-slicing, MIG or DRA.
GPU infrastructure on Kubernetes, Day 2: install the device plugin, hand out GPUs, simulate a plugin outage.
Go to day 2 →
FAQ
Can a pod get GPUs from two nodes?
No. All GPUs requested by a pod come from one node. Distributed training uses several pods.
How do I see how many GPUs a node has left?
kubectl describe node shows the allocated GPUs under “Allocated resources”; compare with allocatable to get the free ones.