Skip to content

Commit a3c48cc

Browse files
authored
Merge pull request #210 from empovit/openshift-4.12-driver-image
Require specifying a driver image on OpenShift 4.12 with 25.3.1 or later
2 parents f1cd149 + 8571f37 commit a3c48cc

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

openshift/install-gpu-ocp.rst

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,13 @@ Create the cluster policy using the web console
209209

210210
#. Select the **ClusterPolicy** tab, then click **Create ClusterPolicy**. The platform assigns the default name *gpu-cluster-policy*.
211211

212-
.. note:: You can use this screen to customize the ClusterPolicy however the default are sufficient to get the GPU configured and running.
212+
.. note:: You can use this screen to customize the ClusterPolicy; although, the default values are sufficient to get the GPU configured and running in most cases.
213+
214+
.. note:: For OpenShift 4.12 with GPU Operator 25.3.1 or later, you must expand the **Driver** section and set the following fields:
215+
216+
- **version**: 570.148.08 (or another supported version)
217+
- **image**: driver (or another supported image)
218+
- **repository**: nvcr.io/nvidia (or another supported repository)
213219

214220
#. Click **Create**.
215221

@@ -230,6 +236,17 @@ Create the cluster policy using the CLI
230236
231237
$ oc get csv -n nvidia-gpu-operator gpu-operator-certified.v22.9.0 -ojsonpath={.metadata.annotations.alm-examples} | jq .[0] > clusterpolicy.json
232238
239+
240+
.. note:: For OpenShift 4.12 with GPU Operator 25.3.1 or later, modify clusterpolicy.json file to specify ``driver.licensingConfig``, ``driver.repository``, ``driver.image``, ``driver.version`` and ``driver.imagePullSecrets`` (optional). The below snippet is shown as an example, please change values accordingly. Refer to :ref:`operator-release-notes` for recommended driver versions.
241+
242+
.. code-block:: json
243+
244+
"driver": {
245+
"repository": "nvcr.io/nvidia",
246+
"image": "driver",
247+
"version": "570.148.08"
248+
}
249+
233250
.. code-block:: console
234251
235252
$ oc apply -f clusterpolicy.json

0 commit comments

Comments
 (0)