In this article
A successful device allocation proves resource assignment and runtime configuration; tenant isolation still depends on the host, runtime and shared-device boundaries.
Follow the allocation contract
The Kubernetes device-plugin documentation describes how a vendor plugin registers a resource with the kubelet, reports available devices and serves allocation requests. The scheduler can then place a Pod requesting that extended resource. This makes hardware usable through the cluster’s resource model without embedding every vendor’s setup logic into Kubernetes itself.
During allocation, the plugin returns the configuration needed for container access. That may include device nodes, mounts, environment variables, annotations or fully qualified CDI device names. Those are concrete access mechanisms. A displayed allocation does not independently demonstrate which security properties hold after that access is granted.
The plugin itself is privileged infrastructure
The documented deployment requires access to the kubelet device-plugin directory and a privileged security context. The plugin is therefore part of the trusted node-management stack, rather than an untrusted application merely asking for a resource. Its image identity, updates and permissions belong in the node’s operational record.
The application container receiving a GPU is a different actor. The plugin’s need for privileges does not mean that every application should receive the same privileges. Conversely, an application’s restricted container settings do not prove that every host driver and device interface it can reach has become a separate kernel boundary. The containers-versus-VMs guide explains those distinct dependencies.
Health reporting is not workload validation
Plugins stream device inventory and health changes to the kubelet. When a device becomes unhealthy, the documentation distinguishes reduced allocatable resources from unchanged physical capacity. Already assigned Pods remain associated with their device; a health update is not automatic migration of a running model and its memory.
Likewise, an allocation hook can prepare a device, but successful preparation is not a complete model-quality test. Discovery, assignment, process startup and useful inference remain separate stages. The Kubernetes GPU scheduling guide explains why CPU, host memory and model readiness still matter after a device is available.
Cluster tenancy requires separate controls
The Kubernetes multi-tenancy guidance treats access control, namespaces, network and storage isolation, sandboxing and node placement as separate parts of a tenancy design. Containers share a host kernel. Choosing a stronger sandbox or dedicated nodes changes boundaries and costs, but requires evaluating the actual environment rather than assuming a resource name supplies the property.
For accelerators, a useful review also identifies whether the resource represents a full physical device, a hardware partition or a vendor-configured share. The device-plugin framework can carry vendor-specific resources; its existence does not establish that all sharing mechanisms have equivalent memory, fault or timing isolation. Such claims require evidence for the selected hardware and configuration.
Preserve lifecycle and version evidence
A kubelet restart removes the plugin sockets, and the plugin must detect the event and register again. Healthy discovery after a restart should therefore be checked separately from an earlier successful allocation. The documentation also distinguishes the generally available device manager from the device-plugin API’s own compatibility requirements.
An operational record should preserve plugin and runtime versions, advertised resource identity, effective device access and the tenant-isolation mechanism. This is a proposed review structure, not a penetration-test result. No cluster settings were changed for this article. The API documents resource delivery and lifecycle; it does not certify complete security isolation for a shared GPU deployment.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.