Step #4: Create Cluster Policy instance for the NVIDIA GPU Operator
Next, we will create the cluster policy responsible for maintaining policy resources to create pods in a cluster.
In the OpenShift Container Platform web console, select Operators > Installed Operators and click NVIDIA GPU Operator from the side menu.
Select the ClusterPolicy tab, then click Create ClusterPolicy.
All settings can remain at their default value(s). Click the Create button.Note
The platform assigns the default name gpu-cluster-policy.
At this point, the GPU Operator proceeds and installs all the required components to set up the NVIDIA GPUs in the OpenShift 4 cluster. Wait at least 10-20 minutes before digging deeper into any form of troubleshooting because this may take a period of time to finish.
The status of the newly deployed ClusterPolicy gpu-cluster-policy for the NVIDIA GPU Operator changes to
State:readywhen the installation succeeds.