k8s-device-plugin
k8s-device-plugin copied to clipboard
Make skipped CDI hooks configurable
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