Skip to content

Commit 62d8914

Browse files
authored
Add openshift clusterpolicy upgrade parameters (NVIDIA#343)
Signed-off-by: Abigail McCarthy <20771501+a-mccarthy@users.noreply.github.com>
1 parent e697560 commit 62d8914

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

‎gpu-operator/gpu-driver-upgrades.rst‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,16 @@ The controller automates the upgrade process and generates metrics and events so
6262
6363
$ kubectl patch clusterpolicies.nvidia.com/cluster-policy \
6464
--type='json' \
65-
-p='[{"op": "replace", "path": "/spec/driver/version", "value":"510.85.02"}]'
65+
-p='[{"op": "replace", "path": "/spec/driver/version", "value":"580.95.05"}]'
66+
67+
68+
If you are using Openshift, you must update the ``driver.version``, ``driver.repository`` and ``driver.image`` values in the cluster policy.
69+
70+
.. code-block:: console
71+
72+
$ kubectl patch clusterpolicies.nvidia.com/cluster-policy \
73+
--type='json' \
74+
-p='[{"op": "replace", "path": "/spec/driver/version", "value":"580.95.05"},{"op": "replace", "path": "/spec/driver/repository", "value":"nvcr.io/nvidia"},{"op": "replace", "path": "/spec/driver/image", "value":"driver"}]'
6675
6776
2. (Optional) For each node, monitor the upgrade status:
6877

@@ -287,7 +296,7 @@ In addition, no new features will be added to the ``k8s-driver-manager`` moving
287296

288297
.. code-block:: console
289298
290-
$ kubectl patch clusterpolicies.nvidia.com/cluster-policy --type='json' -p='[{"op": "replace", "path": "/spec/driver/version", "value":"510.85.02"}]'
299+
$ kubectl patch clusterpolicies.nvidia.com/cluster-policy --type='json' -p='[{"op": "replace", "path": "/spec/driver/version", "value":"580.95.05"},{"op": "replace", "path": "/spec/driver/repository", "value":"nvcr.io/nvidia"},{"op": "replace", "path": "/spec/driver/image", "value":"driver"}]'
291300
292301
2. (Optional) To monitor the status of the upgrade, watch the deployment of the new driver pod on GPU worker nodes:
293302

0 commit comments

Comments
 (0)