Skip to content

Commit f9045c4

Browse files
gwynnemonahanopenshift-cherrypick-robot
authored andcommitted
OSSM-9037 Show oc label command in Performing RevisionBased update procedure
1 parent 40bb0ff commit f9045c4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

modules/ossm-performing-revisionbased-update.adoc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,16 @@ The {SMProductShortName} Operator deploys a new version of the control plane alo
3434
$ oc get istiorevisions
3535
----
3636

37-
. Move the workloads to the new control plane by updating the `istio.io/rev` label on the application namespace or the pods to the revision name of the new control plane.
37+
. Move the workloads to the new control plane by updating the `istio.io/rev` label on the application namespace by running the following command:
38+
+
39+
[source,terminal]
40+
----
41+
$ oc label namespace <namespace_name> istio.io/rev=<new_revision_name> --overwrite
42+
----
3843

3944
. Restart the application workloads so that the new version of the sidecar gets injected.
4045
+
4146
[source,terminal]
4247
----
4348
$ oc rollout restart deployment <deployment_name>
44-
----
49+
----

0 commit comments

Comments
 (0)