Skip to content

Commit 67e04c2

Browse files
committed
Issue 49547 updating oc adm upgrade command
1 parent 6bcf712 commit 67e04c2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

modules/update-upgrading-cli.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,18 @@ VERSION IMAGE
7676
4.10.13 quay.io/openshift-release-dev/ocp-release@sha256:4f516616baed3cf84585e753359f7ef2153ae139c2e80e0191902fbd073c4143
7777
----
7878

79-
. Based on your organization requirements, set the upgrade channel to `stable-4.10`, `fast-4.10`, or `eus-4.10`:
79+
. Based on your organization requirements, set the upgrade channel to `stable-{product-version}`, `fast-{product-version}`, or `eus-{product-version}`:
8080
+
8181
[source,terminal]
8282
----
8383
$ oc adm upgrade channel <channel>
8484
----
8585
+
86-
For example, to set the channel to `stable-4.10`:
86+
For example, to set the channel to `stable-{product-version}`:
8787
+
88-
[source,terminal]
88+
[source,terminal,subs="attributes+"]
8989
----
90-
$ oc adm upgrade channel stable-4.10
90+
$ oc adm upgrade channel stable-{product-version}
9191
----
9292
+
9393
[IMPORTANT]
@@ -120,15 +120,15 @@ $ oc get clusterversion -o json|jq ".items[0].spec"
120120
----
121121
+
122122
.Example output
123-
[source,terminal]
123+
[source,terminal,subs="attributes+"]
124124
----
125125
{
126-
"channel": "stable-4.10",
126+
"channel": "stable-{product-version}",
127127
"clusterID": "990f7ab8-109b-4c95-8480-2bd1deec55ff",
128128
"desiredUpdate": {
129129
"force": false,
130130
"image": "quay.io/openshift-release-dev/ocp-release@sha256:9c5f0df8b192a0d7b46cd5f6a4da2289c155fd5302dec7954f8f06c878160b8b",
131-
"version": "4.10.13" <1>
131+
"version": "<version>" <1>
132132
}
133133
}
134134
----
@@ -181,10 +181,10 @@ $ oc get clusterversion
181181
----
182182
+
183183
.Example output
184-
[source,terminal]
184+
[source,terminal,subs="attributes+"]
185185
----
186186
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
187-
version 4.10.13 True False 2m Cluster version is 4.10.13
187+
version {product-version} True False 2m Cluster version is {product-version}
188188
----
189189

190190
. If you are upgrading your cluster to the next minor version, like version 4.y to 4.(y+1), it is recommended to confirm your nodes are upgraded before deploying workloads that rely on a new feature:

0 commit comments

Comments
 (0)