Jiaming Xu

Results 7 comments of Jiaming Xu

Looked at the CDI spec of device plugin genereated, it mounts container path `/host/home/kubernetes/bin/nvidia/bin` to host path `/home/kubernetes/bin/nvidia/bin` (https://github.com/NVIDIA/k8s-device-plugin/blob/bf58cc405af03d864b1502f147815d4c2271ab9a/cmd/nvidia-device-plugin/plugin-manager.go#L50) In this case, from the code (https://github.com/NVIDIA/k8s-device-plugin/blame/bf58cc405af03d864b1502f147815d4c2271ab9a/internal/cdi/cdi.go#L155), what's the suggestion change...

With below change: https://github.com/NVIDIA/k8s-device-plugin/pull/666 Tested it out locally ``` helm upgrade -i --create-namespace --namespace gpu-operator noperator deployments/gpu-operator --set driver.enabled=false --set cdi.enabled=true --set cdi.default=true --set operator.runtimeClass=nvidia-cdi --set hostRoot=/ --set driverRoot=/home/kubernetes/bin/nvidia --set...

Thanks for the update With the latest change https://github.com/NVIDIA/k8s-device-plugin/pull/666, and below config ``` NVIDIA_DRIVER_ROOT=/home/kubernetes/bin/nvidia CONTAINER_DRIVER_ROOT=/host/home/kubernetes/bin/nvidia NVIDIA_DEV_ROOT=/ NVIDIA_CTK_PATH=/home/kubernetes/bin/nvidia/toolkit/nvidia-ctk ``` Tested pod with nvidia-smi run is working as expected !!! ``` $...

Thanks for taking a look into the issue [cdesiniotis](https://github.com/cdesiniotis), and thanks for the MR from [neoaggelos](https://github.com/neoaggelos): https://gitlab.com/nvidia/kubernetes/gpu-operator/-/merge_requests/960 As pointed out from [cdesiniotis](https://github.com/cdesiniotis), our use case is a little different from...

gitlab commit: https://gitlab.com/nvidia/kubernetes/gpu-operator/-/merge_requests/1061