GPU nodes are usually reserved with the taint nvidia.com/gpu so that ordinary workloads do not occupy the expensive nodes. A GPU pod without a toleration cannot get there either – it stays Pending.
Symptom
kubectl -n tag04 get pod gpu-ohne-toleration NAME READY STATUS RESTARTS AGE gpu-ohne-toleration 0/1 Pending 0 6s
The pod (“gpu without toleration”) requests one GPU; the node gpu-worker2 carries the taint nvidia.com/gpu=present:NoSchedule.
Diagnosis
The scheduler's reason breaks down the three nodes.
kubectl -n tag04 get events --field-selector involvedObject.name=gpu-ohne-toleration \
-o jsonpath='{.items[0].message}{"\n"}'
0/3 nodes are available: 1 Insufficient nvidia.com/gpu, 2 node(s) had untolerated
taint(s). preemption: 0/3 nodes are available: 3 Preemption is not helpful for scheduling.
Causes
untolerated taint(s)GPU node reserved, pod without toleration
The taint on gpu-worker2 keeps away every pod that does not tolerate it – including the GPU pod itself. The GPU request attracts, the taint repels, only the toleration allows.
Insufficient nvidia.com/gpuThe other worker has no GPU
The node without a taint (gpu-worker) has no GPUs. Together: no node fits.
control planeThe control plane counts too
The control plane has its own taint and therefore also shows up under “untolerated taint(s)”.
Fix
tolerations: - key: nvidia.com/gpu operator: Exists effect: NoSchedule kubectl -n tag04 wait --for=condition=Ready pod/gpu-mit-toleration --timeout=90s pod/gpu-mit-toleration condition met
Don't: Remove the taint from the GPU node so the pod runs. Then ordinary workloads end up on the expensive GPU nodes too.
GPU infrastructure on Kubernetes, Day 4: reserve GPU nodes with taints, set tolerations, PriorityClasses for the bottleneck.
Go to day 4 →
FAQ
Does every team have to write the toleration itself?
No. The admission plugin ExtendedResourceToleration adds it automatically to every pod that requests nvidia.com/gpu.
Does a new NoSchedule taint affect running pods?
No, NoSchedule only affects new pods. Only NoExecute evicts running pods without a toleration.