Pod Pending on nvidia.com/gpu

An inference Deployment asks for more GPUs than any node has, then a GPU quota deadlocks the rollout.

Intermediate Break/fix Starts broken 25 min 200 points

Goal

The vLLM Deployment in namespace inference is stuck Pending. Get it Running on a GPU node without changing node capacity, node labels or taints, the number of GPU nodes, or the Deployment's replica count. The model server must be configured for the GPUs it actually gets.

How it is graded

  • The vllm-qwen pod is Running30 pts
  • GPU request fits the largest node's allocatable (2)20 pts
  • vLLM's --tensor-parallel-size equals the GPUs requested10 pts
  • ?4 hidden checks, revealed when you grade. They make sure the fix keeps to the rules in the goal.

Your cluster

  • 3 × gpu-node 24 CPU · 96Gi · 2 × NVIDIA-L4
  • 1 × cpu-node 4 CPU · 16Gi

In production

  • Check that the NVIDIA device plugin pod is Running on each GPU node: without it, allocatable nvidia.com/gpu is 0.
  • Compare allocatable, not capacity: MIG partitions and time-slicing change how many nvidia.com/gpu a node offers.
  • Pending pods still count against ResourceQuota, so single-GPU-replica Deployments often use strategy Recreate (or maxSurge 0).

Further reading

Written by @prianshu-git. View the source.