You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openshift/install-gpu-ocp.rst
+39-6Lines changed: 39 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,6 @@ Installing the NVIDIA GPU Operator by using the web console
13
13
14
14
#. In the OpenShift Container Platform web console, from the side menu, navigate to **Operators** > **OperatorHub** and select **All Projects**.
15
15
16
-
#. In **Operators** > **OperatorHub**, search for the **NVIDIA GPU Operator**. For additional information, refer to the `Red Hat OpenShift Container Platform documentation <https://docs.openshift.com/container-platform/latest/operators/admin/olm-adding-operators-to-cluster.html>`_.
17
16
#. In **Operators** > **OperatorHub**, search for the **NVIDIA GPU Operator**. For additional information, refer to the `Red Hat OpenShift Container Platform documentation <https://docs.openshift.com/container-platform/latest/operators/admin/olm-adding-operators-to-cluster.html>`_.
18
17
19
18
#. Select the **NVIDIA GPU Operator**, click **Install**. In the following screen, click **Install**.
@@ -263,7 +262,32 @@ Create the ClusterPolicy instance with NVIDIA vGPU
263
262
Prerequisites
264
263
--------------
265
264
266
-
* Refer to the :ref:`install-gpu-operator-vgpu` section for prerequisite steps for using NVIDIA vGPU on Red Hat OpenShift.
265
+
Before creating the ClusterPolicy for NVIDIA vGPU, ensure the following:
266
+
267
+
* Refer to the :ref:`install-gpu-operator-vgpu` section for detailed prerequisite steps, including building the vGPU driver container image and obtaining licensing files.
268
+
269
+
* Create a licensing secret in the ``nvidia-gpu-operator`` namespace:
@@ -272,7 +296,11 @@ Create the cluster policy using the web console
272
296
273
297
#. Select the **ClusterPolicy** tab, then click **Create ClusterPolicy**. The platform assigns the default name *gpu-cluster-policy*.
274
298
275
-
#. Provide the name of the licensing ``ConfigMap`` under the **Driver** section. This should be created during the prerequisite steps for NVIDIA vGPU. Refer to the following screenshots for examples and modify values accordingly.
299
+
#. Provide the name of the licensing ``Secret`` under the **Driver** section. This should be created during the prerequisite steps for NVIDIA vGPU (for example, ``licensing-config``). Refer to the following screenshots for examples and modify values accordingly.
300
+
301
+
.. note::
302
+
303
+
The ``ConfigMap`` option is deprecated. Use a Kubernetes ``Secret`` to store licensing information instead.
276
304
277
305
.. image:: graphics/cluster_policy_vgpu_1.png
278
306
@@ -305,14 +333,19 @@ Create the cluster policy using the CLI
305
333
"driver": {
306
334
"repository": "<repository-path>",
307
335
"image": "driver",
308
-
"imagePullSecrets": [],
336
+
"imagePullSecrets": ["registry-secret"],
309
337
"licensingConfig": {
310
-
"configMapName": "licensing-config",
338
+
"secretName": "licensing-config",
311
339
"nlsEnabled": true
312
340
},
313
-
"version": "470.82.01"
341
+
"version": "580.95.05"
314
342
}
315
343
344
+
.. note::
345
+
346
+
Using ``secretName`` to reference a Kubernetes Secret is the recommended approach.
347
+
The ``configMapName`` option is deprecated and will be removed in a future release.
0 commit comments