OpenShift 5 turns GPU allocation from integer counting into scheduling policy
A Red Hat H100 walkthrough shows how Dynamic Resource Allocation can preserve old manifests, create MIG slices on demand and account for memory shares — with important driver caveats.
Red Hat has published a hands-on account of running six Dynamic Resource Allocation (DRA) capabilities on an NVIDIA H100 under OpenShift 5. The useful result is not simply finer GPU sharing. It is a change in where the platform makes allocation decisions: devices, their capacities and their health become scheduler-visible objects instead of opaque integers exposed by a node plug-in.
What the walkthrough demonstrates
The Red Hat Developer test used an 80 GB H100 on AWS, OpenShift 5, NVIDIA’s DRA driver 0.5.1 and vLLM 0.32.0. Its first finding is deliberately conservative: an existing workload that requests nvidia.com/gpu: 1 can continue doing so. A DeviceClass maps that extended resource to DRA, and the scheduler creates and allocates the ResourceClaim without requiring a manifest rewrite.
The more consequential examples use explicit claims. The NVIDIA driver creates MIG instances when claims are allocated, allowing a 40 GB model slice and three 10 GB compliance or search slices to share one card without an administrator pre-partitioning it. After those claims are released, a whole-GPU batch job can take the card again without a node reboot.
For trusted workloads that do not need hardware isolation, consumable capacity lets claims request right-sized memory shares. In Red Hat’s example, three inference servers reserve 30 GiB, 22 GiB and 20 GiB on the same H100, while a fourth 36 GiB request remains pending because the scheduler cannot satisfy it. This is accounting rather than enforcement: the workload still has to stay within its reservation, such as through vLLM’s --gpu-memory-utilization setting.
Fault handling moves down to the device
The walkthrough also shows device-level taints. After a deliberately faulty Triton kernel produces an NVIDIA XID 31 event, the driver records the condition against the GPU. An administrator can then apply a DeviceTaintRule with NoExecute to drain workloads from that device while leaving other node resources alone; a diagnostics claim with the matching toleration can remain.
That distinction matters for shared accelerator nodes. The operational unit becomes the affected device rather than the entire machine, and scheduling policy can distinguish an observed application fault from an administrator’s maintenance action.
The caveats platform teams should keep
Not every scene represents current NVIDIA-driver support. Red Hat says driver 0.5.1 does not yet report resource health to the kubelet or support binding conditions, so those two examples use Kubernetes’ reference DRA driver. The platform APIs are present in OpenShift 5, but production behavior still depends on vendor-driver implementation.
DeviceTaintRule is also a Technology Preview that requires the TechPreviewNoUpgrade feature set. Driver-published taints and claim tolerations are available by default, according to the walkthrough.
The practical adoption path is therefore incremental: preserve simple extended-resource manifests, use explicit ResourceClaims where workloads need MIG profiles or capacity guarantees, and verify the installed driver’s support before designing automation around health or fabric-attached devices. DRA gives the scheduler the vocabulary for richer accelerator policy; the driver determines how much of that vocabulary a particular GPU can speak today.
sources
- A day in the life of an NVIDIA H100 on Red Hat OpenShift 5developers.redhat.com
comments · 0