I’m starting to evaluate the AMD GPU DRA driver for Kubernetes:
I’ve been working on Kubernetes DRA correctness recently, and I’m interested in how this driver behaves outside the demo environment. Has anyone here deployed it on a physical or otherwise realistic cluster?
I’d be interested in hearing about:
the Kubernetes and ROCm versions you used
the AMD GPU model and cluster setup
whether you installed it through Helm or built it from source
how device discovery, ResourceSlices, ResourceClaims, and CDI integration behaved
whether you tested driver restarts, kubelet restarts, node reboots, or failed prepare/unprepare operations
any documentation gaps or workarounds you encountered
Successful deployments would be useful, but failed or incomplete attempts would also help. I’m planning to reproduce the setup and contribute tests or fixes where appropriate.
I’m following this with interest because I haven’t had the chance to test the ROCm DRA driver on a real Kubernetes cluster yet. The list of scenarios you mentioned, especially driver restarts, node reboots, and ResourceClaim handling, are exactly the kind of things that are often missing from quick setup guides. Hopefully people who have deployed it in a production-like environment can share both the smooth parts and the unexpected issues they ran into. Those real-world details would be valuable for anyone planning a deployment.
I suppose this behaviour might be the same as with nvidia. You can check how it works for nvidia if you want to understand how it operates in a real production cluster
Thanks, that is a good point. I started comparing the NVIDIA DRA driver as well, especially its boot-ID checkpoint handling and PrepareStarted/PrepareCompleted states. Those are actually very relevant to some reboot/recovery cases I have been looking at in the ROCm driver.
Have you personally deployed the NVIDIA DRA driver on a production-like cluster? If yes, I would be especially interested in the GPU model, Kubernetes version, and whether you tested node reboot, kubelet/plugin restart, or Prepare/Unprepare recovery.
I’m trying to separate behavior that is common to DRA drivers from behavior that is specific to the ROCm implementation.
I think that your best way to understand the general knowledge what can be applied for any dra is Kubernetes DRA. You can try it even in docker using kind on a small 4-8-50 vm.
Look also this official guide about working with dra and this for you experiments.
You can also check more about it, because DRA as a concept widely using in storage/network provision in kubernetes. If you know that - gpu is an option (nvidia/amd or something else).
But I’d like to recommend firstly to understand kubernetes in general before to deep dive in that things. It may you provide experience that helps you to apply to the job. It’s long path.
Answer for your question: no, I haven’t specific experience with nvidia/rocm dra in production. But it’s not a problem when you can work with kubernetes
Real-cluster testing can reveal issues that are easy to miss in a demo environment, especially around ROCm versions, GPU discovery, ResourceClaims, CDI integration, and node restarts the link. Sharing both successful setups and failed tests would make this discussion more useful for developers.
I agree with you. But without a real cluster possibility things above might help to understand core concept of DRA. Real problems with drivers/versions and other misconfiguration is a professional knowledge. I assume that these things could be learnt only during the job routine.
Thanks Danila, that makes sense. The Kubernetes DRA docs and the example driver are definitely useful for understanding the generic DRA model, and I’ve been using those as references as well.
My main interest here is a little narrower though: I’m trying to separate generic DRA behavior from implementation-specific behavior in ROCm/k8s-gpu-dra-driver.
I’ve been working recently on upstream Kubernetes DRA correctness and on some lifecycle/recovery questions in the ROCm driver, so what I’m especially missing is first-hand deployment evidence: what actually happens with the AMD driver across kubelet/plugin restarts, node reboots, CDI state recovery, GPU rediscovery, and Prepare/Unprepare retries.
Looking at NVIDIA is useful as a reference implementation — in fact, it already gives some interesting comparison points around checkpoint versioning, boot identity, and partial Prepare recovery — but I don’t want to assume that ROCm behaves the same without testing it.
So if anyone here has actually deployed the ROCm DRA driver, even in a lab or production-like cluster, I’d still be very interested in the exact setup: Kubernetes version, ROCm version, GPU model, and whether you exercised any restart or recovery scenarios.
Failed deployments are just as useful as successful ones. I’m happy to reproduce anything that can be shared and turn it into a test or upstream fix where appropriate.