Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions gpu-operator/gpu-driver-upgrades.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,16 @@ The controller automates the upgrade process and generates metrics and events so

$ kubectl patch clusterpolicies.nvidia.com/cluster-policy \
--type='json' \
-p='[{"op": "replace", "path": "/spec/driver/version", "value":"510.85.02"}]'
-p='[{"op": "replace", "path": "/spec/driver/version", "value":"580.95.05"}]'


If you are using Openshift, you must update the ``driver.version``, ``driver.repository`` and ``driver.image`` values in the cluster policy.

.. code-block:: console

$ 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"}]'

2. (Optional) For each node, monitor the upgrade status:

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

.. code-block:: console

$ kubectl patch clusterpolicies.nvidia.com/cluster-policy --type='json' -p='[{"op": "replace", "path": "/spec/driver/version", "value":"510.85.02"}]'
$ kubectl patch clusterpolicies.nvidia.com/cluster-policy --type='json' -p='[{"op": "replace", "path": "/spec/driver/version", "value":"580.95.05"}]'

2. (Optional) To monitor the status of the upgrade, watch the deployment of the new driver pod on GPU worker nodes:

Expand Down