Home > Storage > PowerFlex > White Papers > NVIDIA Riva on Red Hat OpenShift with Dell PowerFlex > GPU operator installation
To install the gpu-operator on OpenShift, perform the following:
• Install the Node Feature Discovery (NFD) operator
• Install the GPU operator
The Node Feature Discovery (NFD) operator manages the detection of hardware features and configuration in a OpenShift Container Platform cluster by labeling the nodes with hardware-specific information.
To install the NFD operator:
After installation, check that the node feature discovery pods are running as follows:
[root@ocp411-admin Riva]# oc get pods -n openshift-nfd
NAME READY STATUS RESTARTS AGE
nfd-controller-manager-745467c897-2zk99 2/2 Running 0 11d
nfd-master-69lkh 1/1 Running 0 11d
nfd-master-7vksg 1/1 Running 0 11d
nfd-master-htn6d 1/1 Running 0 11d
nfd-worker-26ld2 1/1 Running 0 11d
nfd-worker-t2gx8 1/1 Running 0 11d
nfd-worker-whv4z 1/1 Running 0 11d
nfd-worker-xzs6w 1/1 Running 0 11d
After installing the NFD Operator and creating a NodeFeatureDiscovery instance, you can install the NVIDIA GPU Operator. The NVIDIA GPU Operator makes the underlying GPUs of a compute node available to containerized workloads. When the NVIDIA GPU operator is installed, create an instance of ClusterPolicy.
To install the NVIDIA GPU operator:
After the installation, verify that the gpu operator is running as follows:
[root@ocp411-admin Riva]# oc get pods -n nvidia-gpu-operator
NAME READY STATUS RESTARTS
console-plugin-nvidia-gpu-7dc9cfb5df-767nz 1/1 Running 0
gpu-feature-discovery-8dpvj 1/1 Running 0
gpu-feature-discovery-bp7z8 1/1 Running 0
gpu-feature-discovery-f8nxr 1/1 Running 0
gpu-feature-discovery-xqk47 1/1 Running 0
gpu-operator-6cb9b76c7d-9zr55 1/1 Running 0
nvidia-container-toolkit-daemonset-57cl6 1/1 Running 0
nvidia-container-toolkit-daemonset-9qr6g 1/1 Running 0
nvidia-container-toolkit-daemonset-dw7dp 1/1 Running 0
nvidia-container-toolkit-daemonset-rzpqq 1/1 Running 0
nvidia-cuda-validator-2fgfw 0/1 Completed 0
nvidia-cuda-validator-8kphn 0/1 Completed 0
nvidia-cuda-validator-j4zxn 0/1 Completed 0
nvidia-cuda-validator-pzsj9 0/1 Completed 0
nvidia-dcgm-47mj6 1/1 Running 0
nvidia-dcgm-exporter-6fg5c 1/1 Running 0
nvidia-dcgm-exporter-p565m 1/1 Running 0
nvidia-dcgm-exporter-psj7l 1/1 Running 0
nvidia-dcgm-exporter-zjlnz 1/1 Running 0
nvidia-dcgm-g4scr 1/1 Running 0
nvidia-dcgm-kw8cm 1/1 Running 0
nvidia-dcgm-v7vx9 1/1 Running 0
nvidia-device-plugin-daemonset-6xq9f 1/1 Running 0
nvidia-device-plugin-daemonset-dbn9b 1/1 Running 0
nvidia-device-plugin-daemonset-gps6x 1/1 Running 0
nvidia-device-plugin-daemonset-gtqvw 1/1 Running 0
nvidia-device-plugin-validator-44jnv 0/1 Completed 0
nvidia-device-plugin-validator-87sqc 0/1 Completed 0
nvidia-device-plugin-validator-c8q96 0/1 Completed 0
nvidia-device-plugin-validator-hxcfx 0/1 Completed 0
nvidia-driver-daemonset-411.86.202304190130-0-cf89x 2/2 Running 0
nvidia-driver-daemonset-411.86.202304190130-0-prgwg 2/2 Running 0
nvidia-driver-daemonset-411.86.202304190130-0-xl64j 2/2 Running 0
nvidia-driver-daemonset-411.86.202304190130-0-zcfnj 2/2 Running 0
nvidia-mig-manager-2fjlp 1/1 Running 0
nvidia-mig-manager-2mrxp 1/1 Running 0
nvidia-mig-manager-9khxv 1/1 Running 0
nvidia-mig-manager-w4w59 1/1 Running 0
nvidia-node-status-exporter-ms9wj 1/1 Running 0
nvidia-node-status-exporter-ph56c 1/1 Running 0
nvidia-node-status-exporter-v2q7w 1/1 Running 0
nvidia-node-status-exporter-x54g7 1/1 Running 0
nvidia-operator-validator-5zhpj 1/1 Running 0
nvidia-operator-validator-9cdwx 1/1 Running 0
nvidia-operator-validator-x87zb 1/1 Running 0
nvidia-operator-validator-xklxj 1/1 Running 0