Skip to content

Commit 6c060cc

Browse files
authored
Merge pull request #90246 from openshift-cherrypick-robot/cherry-pick-90146-to-service-mesh-docs-3.0
[service-mesh-docs-3.0] OSSM-9037 Show oc label command in Performing RevisionBased update procedure
2 parents 40bb0ff + f9045c4 commit 6c060cc

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)