Hardware & InferenceHarnesses 🇷🇺 01.08.2026 01:02

Kubernetes 1.36: Handling GPU Device Failures without Infinite Pending

NVIDIANVIDIA MetaMeta
In Kubernetes, a GPU device failure does not automatically lead to pod rescheduling; instead, the kubelet restarts the container on the same dead device, causing a crash loop. The article demonstrates this scenario on a testbed and shows how new mechanisms in Kubernetes 1.36, such as device health status and taints, can break the cycle.
The article highlights that Kubernetes, by default, handles device failures by simply restarting the container, which is insufficient for GPU-accelerated workloads. Citing a Meta study on training Llama 3 405B, it notes that clusters with thousands of GPUs experience frequent interruptions, often due to GPU and memory failures. The author explains the limitations of the classic device plugin approach, which only reduces the allocatable count, and contrasts it with the newer DRA (Dynamic Resource Allocation) model that provides object-based device management. On a test cluster, the author simulates a GPU failure by hot-removing a device from the PCIe bus, resulting in Xid 79. The pod then enters a crash loop, restarting on the dead device, and the scheduler does not reschedule it because it is still bound to the node. Kubernetes 1.36 introduces several beta features to address this: device health status in the pod status, device taints and tolerations, and partitionable devices. Using these, the cluster can be made to recognize the failure and schedule the pod onto a healthy GPU, avoiding endless restarts.
Сокращения
GPU = Graphics Processing Unit — графический процессор
DRA = Dynamic Resource Allocation — динамическое выделение ресурсов
Xid — код ошибки NVIDIA
NVLink = NVIDIA NVLink — высокоскоростной интерфейс соединения GPU
HBM3 = High Bandwidth Memory 3 — высокопропускная память третьего поколения
KEP = Kubernetes Enhancement Proposal — предложение улучшения Kubernetes
PCIe = Peripheral Component Interconnect Express — шина подключения периферийных устройств
Source: Habr — хаб ML — original
Our earlier posts on this topic ↓
Fresh news