concept

Specialized devices and DRA

A device plugin advertises node-local extended resources through the kubelet. A Pod can request a qualified resource such as hardware.example.com/accelerator if a compatible plugin exposes it. Extended resources are integer quantities and cannot be overcommitted in the standard resource model; if requests and limits are both specified they must match. A device count alone says nothing about device memory, driver compatibility or application speed. GPU drivers, runtime integration and vendor-specific plugins must be installed and reviewed separately. The invented resource in this example is unavailable in this environment.

Formal Syntax & Structure

kubernetes syntaxkubernetes
resources:  requests:    cpu: "1"    memory: 1Gi    hardware.example.com/accelerator: "1"  limits:    hardware.example.com/accelerator: "1"

Working Example

Example Snippetkubernetes
Node total: 4 free CPUsNUMA 0: 2 free CPUs; NUMA 1: 2 free CPUsA strict single-NUMA request for 3 CPUs cannot fit this simplified inventory.
Kubernetes Reference