k8s-device-plugin icon indicating copy to clipboard operation
k8s-device-plugin copied to clipboard

Make skipped CDI hooks configurable

Open elezar opened this issue 8 months ago • 1 comments

The NVIDIA Container Toolkit v1.17.5 included support for an enable-cuda-compat hook. Since we may be running in a situation where a host-installed NVIDIA Container Toolkit is used, this hook was explicitly disabled (see #1192) in the device plugin CDI spec generation.

In order to provide users with the required control (i.e. opting-out of a particular hook). These skipped hooks should be exposed in the device plugin configuration with the default being to not skip any hooks.

See also https://github.com/NVIDIA/nvidia-container-toolkit/issues/1050

elezar avatar Apr 25 '25 12:04 elezar