Skip to content

Commit 74c5a81

Browse files
authored
Bug fix for 5322419: [GPU-Operator] Failed to upgrade GPU Operator to specified version (#199)
* Bug fix for 5322419: [GPU-Operator] Failed to upgrade GPU Operator to specified version - Update the upgrade.rst file to use the GitHub URLs for the CRD YAMLs. - Update the upgrade.rst file to use the correct version for the Helm upgrade command. - Update the upgrade.rst file to use the `${version}` variable for `$RELEASE_TAG` Signed-off-by: Andrew Chen <[email protected]>
1 parent af2a386 commit 74c5a81

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

gpu-operator/upgrade.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,17 @@ With this procedure, all existing GPU operator resources are updated inline and
6363

6464
.. code-block:: console
6565
66-
$ export RELEASE_TAG=v23.9.0
66+
$ export RELEASE_TAG=v${version}
6767
6868
#. Apply the custom resource definitions for the cluster policy and NVIDIA driver:
6969

7070
.. code-block:: console
7171
7272
$ kubectl apply -f \
73-
https://gitlab.com/nvidia/kubernetes/gpu-operator/-/raw/$RELEASE_TAG/deployments/gpu-operator/crds/nvidia.com_clusterpolicies_crd.yaml
73+
https://raw.githubusercontent.com/NVIDIA/gpu-operator/refs/tags/$RELEASE_TAG/deployments/gpu-operator/crds/nvidia.com_clusterpolicies.yaml
7474
7575
$ kubectl apply -f \
76-
https://gitlab.com/nvidia/kubernetes/gpu-operator/-/raw/$RELEASE_TAG/deployments/gpu-operator/crds/nvidia.com_nvidiadrivers.yaml
76+
https://raw.githubusercontent.com/NVIDIA/gpu-operator/refs/tags/$RELEASE_TAG/deployments/gpu-operator/crds/nvidia.com_nvidiadrivers.yaml
7777
7878
*Example Output*
7979

@@ -87,7 +87,7 @@ With this procedure, all existing GPU operator resources are updated inline and
8787
.. code-block:: console
8888
8989
$ kubectl apply -f \
90-
https://gitlab.com/nvidia/kubernetes/gpu-operator/-/raw/$RELEASE_TAG/deployments/gpu-operator/charts/node-feature-discovery/crds/nfd-api-crds.yaml
90+
https://raw.githubusercontent.com/NVIDIA/gpu-operator/refs/tags/$RELEASE_TAG/deployments/gpu-operator/charts/node-feature-discovery/crds/nfd-api-crds.yaml
9191
9292
*Example Output*
9393

@@ -121,7 +121,7 @@ With this procedure, all existing GPU operator resources are updated inline and
121121

122122
.. code-block:: console
123123
124-
$ helm upgrade gpu-operator nvidia/gpu-operator -n gpu-operator -f values-$RELEASE_TAG.yaml
124+
$ helm upgrade gpu-operator nvidia/gpu-operator -n gpu-operator -f values-$RELEASE_TAG.yaml --version $RELEASE_TAG
125125
126126
*Example Output*
127127

@@ -147,7 +147,7 @@ Starting with GPU Operator v24.9.0, the upgrade CRD Helm hook is enabled by defa
147147

148148
.. code-block:: console
149149
150-
$ export RELEASE_TAG=v23.9.0
150+
$ export RELEASE_TAG=v${version}
151151
152152
#. Update the information about the Operator chart:
153153

@@ -176,7 +176,7 @@ Starting with GPU Operator v24.9.0, the upgrade CRD Helm hook is enabled by defa
176176
.. code-block:: console
177177
178178
$ helm upgrade gpu-operator nvidia/gpu-operator -n gpu-operator \
179-
--disable-openapi-validation -f values-$RELEASE_TAG.yaml
179+
--disable-openapi-validation -f values-$RELEASE_TAG.yaml --version $RELEASE_TAG
180180
181181
.. note::
182182

0 commit comments

Comments
 (0)