Chapter 4. Installing the NVIDIA GPU Operator
Install the NVIDIA GPU Operator to use the underlying NVIDIA CUDA AI accelerators that are available in the cluster.
Prerequisites
-
You have installed the OpenShift CLI (
oc). -
You have logged in as a user with
cluster-adminprivileges. - You have installed the Node Feature Discovery Operator.
Procedure
Create the
NamespaceCR for the NVIDIA GPU Operator:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Create the
OperatorGroupCR:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Create the
SubscriptionCR:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Verify that the NVIDIA GPU Operator deployment is successful by running the following command:
oc get pods -n nvidia-gpu-operator
$ oc get pods -n nvidia-gpu-operator
Example output