NVIDIA / k8s-dra-driver

Dynamic Resource Allocation (DRA) for NVIDIA GPUs in Kubernetes
Apache License 2.0
280 stars 50 forks source link

Could k8s-dra-driver be depoyed even the cluster has no GPU #206

Open fj-zhang-lei opened 1 week ago

fj-zhang-lei commented 1 week ago

Could k8s-dra-driver be depoyed even the cluster has no GPU. I guess even the cluster has no GPU, k8s-dra-driver could be depoyed as device plugin.

By the way, when I try to do the demo, if there is no GPU on the node, ./demo/clusters/kind/create-cluster.sh will faild.

elezar commented 2 days ago

@fj-zhang-lei, this DRA driver is specifically for NVIDIA hardware. If you are looking to get started with DRA and do not have access to NVIDIA hardware, I would recommend looking into https://github.com/kubernetes-sigs/dra-example-driver as it is vendor agnostic.

fj-zhang-lei commented 1 day ago

@elezar

Thanks for your reply. Actually I am talking about NVIDIA hardware and NVIDIA DRA driver.

Consider about network-attached resource.

Could I ask the NVIDIA DRA driver can work well in below sequence? At leaset, in the deom I can not confirm that, because the demo failed, when I executed ./demo/clusters/kind/create-cluster.sh.

step1: Deploy NVIDIA DRA driver step2: Attach a NVIDIA GPU from network-attached resource to the node int the cluster.