Build kernel modules with the NVIDIA Driver Toolkit
When you need custom kernel modules for hardware enablement or specialized functionality on Red Hat OpenShift for NVIDIA, use the NVIDIA Driver Toolkit to build compatible modules. The Driver Toolkit ensures modules are compiled against the exact kernel version running on your target nodes.
After you build the Driver Toolkit image, you can build kernel modules by using one of the following methods:
- Build kernel modules in the cluster
- Use a
BuildConfigto run the build in a build pod. This method is useful when you have access to the cluster and want to manage builds within OpenShift Container Platform. - Build kernel modules on a separate build host
- Use Podman on a workstation or build host to build the kernel module image. This method is useful when you need to build on a workstation or when cluster resources are limited.