Use OpenShift Driver Toolkit to build the GPU driver

This PR introduces an alternative way to build and deploy nvidia kernel module on OpenShift systems, based on the Driver Toolkit (DTK) image.

The DTK provides, for every OpenShift release, an image including the RHEL packages required to build kernel drivers. Outside of this image, these packages are only available with RedHat RHEL subscription certificate, which is a frequente cause of problem for the GPU Operator users.

This PR updates the operator code in charge of creating the driver DaemonSet, and if the ClusterPolicy flag spec.driver.use_ocp_drivertoolkit is enabled, a DTK DaemonSet will be created for each version of RHCOS found in the cluster.

Each RHCOS-DaemonSet will have the right DTK image, allowing entitlement-free building of nvidia kernel driver.

Testing of this PR is ongoing on OpenShift CI: https://github.com/openshift-psap/ci-artifacts/pull/241

Edited by Kevin Pouget

Merge request reports

Loading