﻿# Follow GPU resource registration after a plugin restart

Check re-registration and health advertisement separately from the survival of already allocated GPU workers.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-ks-device-plugin-restart/
Language: en

After a kubelet restart, an existing GPU worker still answers requests but new model Pods report insufficient accelerator resources. The running process and the scheduler's view are separate evidence. Device-plugin registration can be missing even while an already allocated application continues using its device.

## Reconstruct the registration sequence

Correlate kubelet startup with plugin logs and node resource updates. Kubelet removes existing device-plugin sockets when it starts. A plugin must detect that lifecycle and register with the new instance. A plugin process that remains alive is not itself proof of successful registration. Preserve the resource name and node identity throughout the timeline.

## Separate capacity from allocatable

Inspect both fields rather than reporting a single GPU count. The documented health protocol reduces allocatable resources when devices become unhealthy while leaving capacity unchanged. Thus a difference can be intentional health exclusion, not failed hardware discovery. Read the plugin's health messages before treating every missing allocation as a socket problem.

## Examine new allocation failures

A new Pod requires available declared resources and a working allocation path. Existing workers are not automatically reassigned to a healthy device merely because another device becomes unhealthy. Observe scheduler events, kubelet allocation events and application errors separately. A healthy response from one replica says little about whether another can be admitted.

## Keep diagnostics independent

Use authorized status and logs without deleting sockets or restarting live components. Record plugin and kubelet versions and their supported device-plugin API compatibility. The registration API and the model's CUDA library boundary are different interfaces. Rebuilding a model image does not repair a plugin that never re-established its kubelet connection.

## Verify recovery in isolation

A disposable node exercise can observe registration before and after a planned kubelet restart, then admit a tiny resource consumer. Success requires restored advertised resources and a successful new allocation, not merely a running plugin Pod. Test application health independently; registration recovery neither repairs a faulty accelerator nor guarantees uninterrupted requests during node maintenance.

## Primary references

[Kubernetes Device Plugins](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/).

[Schedule GPUs](https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/).

[Kubernetes Pod Lifecycle](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/).

Related reading: [GPUs in Kubernetes: scheduling CPU, RAM and accelerators together](/journal/kubernetes-gpu-scheduling/); [Node NotReady but the Pod does not move: tolerations and eviction](/journal/kubernetes-node-notready-taint-delay/).
