Skip to content

Commit 87fc8dc

Browse files
authored
Merge pull request #109879 from openshift-cherrypick-robot/cherry-pick-109875-to-service-mesh-docs-3.0
[service-mesh-docs-3.0] Fix migrating cluster-wide assembly
2 parents 8a8b694 + 79ddea0 commit 87fc8dc

6 files changed

Lines changed: 52 additions & 63 deletions

migrating/cluster-wide/ossm-migrating-cluster-wide.adoc

Lines changed: 6 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -26,60 +26,23 @@ include::modules/ossm-migrating-a-cluster-wide-deployment-using-the-istio-revisi
2626

2727
include::modules/ossm-migrating-workloads-using-the-istio-revision-label.adoc[leveloffset=+2]
2828

29-
.Next steps
30-
31-
If you are using gateways, you must migrate them before you complete the migration process.
32-
33-
* xref:../../migrating/migrating-gateways/ossm-migrating-gateways.adoc#ossm-migrating-gateways[Migrating gateways]
34-
35-
If you are not using gateways, and have verified your cluster-wide migration, you can proceed to complete the migration and remove {SMProduct} 2 resources.
36-
37-
* xref:../../migrating/done/ossm-migrating-complete.adoc#ossm-migrating-complete[Completing the Migration]
38-
3929
// This sets the context to build the tasks for cluster-wide migration using the Istio revision label with cert-manager tasks
4030
:context: cw-revision-cm
4131

4232
include::modules/ossm-migrating-a-cluster-wide-deployment-using-the-istio-revision-label.adoc[leveloffset=+1]
4333

4434
include::modules/ossm-migrating-workloads-using-the-istio-revision-label.adoc[leveloffset=+2]
4535

46-
.Next steps
47-
48-
If you are using gateways, you must migrate them before you complete the migration process.
49-
50-
* xref:../../migrating/migrating-gateways/ossm-migrating-gateways.adoc#ossm-migrating-gateways[Migrating gateways]
51-
52-
If you are not using gateways, and have verified your cluster-wide migration, you can proceed to complete the migration and remove {SMProduct} 2 resources.
53-
54-
* xref:../../migrating/done/ossm-migrating-complete.adoc#ossm-migrating-complete[Completing the Migration]
55-
5636
// This sets the context to build the tasks for cluster-wide migration using the Istio injection label
5737
:context: cw-injection
5838

5939
include::modules/ossm-migrating-a-cluster-wide-deployment-using-the-istio-injection-label.adoc[leveloffset=+1]
6040

6141
include::modules/ossm-migrating-workloads-using-the-istio-injection-label.adoc[leveloffset=+2]
6242

63-
.Next steps
64-
65-
If you are using gateways, you must migrate them before you complete the migration process.
66-
67-
* xref:../../migrating/migrating-gateways/ossm-migrating-gateways.adoc#ossm-migrating-gateways[Migrating gateways]
68-
69-
If you are not using gateways, and have verified your cluster-wide migration, create a default revision tag and relabel namespaces.
70-
7143
include::modules/ossm-creating-a-default-revision-tag-and-relabeling-the-namespaces.adoc[leveloffset=+2]
7244

73-
.Next steps
74-
75-
You can proceed to complete the migration and remove {SMProduct} 2 resources.
76-
77-
* xref:../../migrating/done/ossm-migrating-complete.adoc#ossm-migrating-complete[Completing the Migration]
78-
79-
[IMPORTANT]
80-
====
81-
Before creating a default revision tag and relabelling the namespaces, you must migrate all remaining workload namespaces, including gateways.
82-
====
45+
include::snippets/ossm-migrate-all-namespaces.adoc[]
8346

8447
// This sets the context to build the tasks for cluster-wide migration using the Istio injection label with cert-manager
8548
:context: cw-injection-cm
@@ -88,18 +51,7 @@ include::modules/ossm-migrating-a-cluster-wide-deployment-using-the-istio-inject
8851

8952
include::modules/ossm-migrating-workloads-using-the-istio-injection-label.adoc[leveloffset=+2]
9053

91-
.Next steps
92-
93-
If you are using gateways, you must migrate them before you complete the migration process.
94-
95-
* xref:../../migrating/migrating-gateways/ossm-migrating-gateways.adoc#ossm-migrating-gateways[Migrating gateways]
96-
97-
If you are not using gateways, and have verified your cluster-wide migration, create a default revision tag and relabel namespaces.
98-
99-
[IMPORTANT]
100-
====
101-
Before creating a default revision tag and relabelling the namespaces, you must migrate all remaining workload namespaces, including gateways.
102-
====
54+
include::snippets/ossm-migrate-all-namespaces.adoc[]
10355

10456
include::modules/ossm-creating-a-default-revision-tag-and-relabeling-the-namespaces-with-cert-manager.adoc[leveloffset=+2]
10557

@@ -109,16 +61,6 @@ include::modules/ossm-creating-a-default-revision-tag-and-relabeling-the-namespa
10961
include::modules/ossm-migrating-a-cluster-wide-deployment-using-the-simple-migration-method.adoc[leveloffset=+1]
11062
include::modules/ossm-migrating-workloads-using-the-simple-migration-method.adoc[leveloffset=+2]
11163

112-
.Next steps
113-
114-
If you are using gateways, you must migrate them before you complete the migration process.
115-
116-
* xref:../../migrating/migrating-gateways/ossm-migrating-gateways.adoc#ossm-migrating-gateways[Migrating gateways]
117-
118-
If you are not using gateways, you can complete your migration.
119-
120-
* xref:../../migrating/done/ossm-migrating-complete.adoc#ossm-migrating-complete[Completing the Migration]
121-
12264
[role="_additional-resources"]
12365
[id="additional-resources_{context}"]
12466
== Additional resources
@@ -130,3 +72,7 @@ If you are not using gateways, you can complete your migration.
13072
* xref:../../install/ossm-installing-openshift-service-mesh.adoc#ossm-scoping-service-mesh-with-discoveryselectors_ossm-installing-openshift-service-mesh[Scoping the mesh with discoverySelectors]
13173

13274
* xref:../../install/ossm-sidecar-injection.adoc#ossm-identifying-revision-name_ossm-sidecar-injection[Identifying the revision name]
75+
76+
* xref:../../migrating/migrating-gateways/ossm-migrating-gateways.adoc#ossm-migrating-gateways[Migrating gateways]
77+
78+
* xref:../../migrating/done/ossm-migrating-complete.adoc#ossm-migrating-complete[Completing the Migration]

modules/ossm-creating-a-default-revision-tag-and-relabeling-the-namespaces.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,9 @@ reviews-v2-65cb66b45c-6ggp9.bookinfo Kubernetes SYNCED (57s) SYN
118118
reviews-v2-698b86b848-v92xq.bookinfo Kubernetes SYNCED (3s) SYNCED (3s) SYNCED (3s) SYNCED (3s) IGNORED istiod-ossm-3-v1-24-3-6595bf8695-s8ktn 1.24.3
119119
reviews-v3-6cbc49c8c8-v4jck.bookinfo Kubernetes SYNCED (11s) SYNCED (11s) SYNCED (3s) SYNCED (11s) IGNORED istiod-ossm-3-v1-24-3-6595bf8695-s8ktn 1.24.3
120120
----
121+
122+
.Next steps
123+
124+
You can proceed to complete the migration and remove {SMProduct} 2 resources.
125+
126+
* See: "Completing the Migration"

modules/ossm-migrating-workloads-using-the-istio-injection-label.adoc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,12 @@ ifeval::["{context}" == "cw-injection"]
126126
endif::[]
127127
ifeval::["{context}" == "cw-injection-cm"]
128128
:!ossm-cert-manager-istio-injection:
129-
endif::[]
129+
endif::[]
130+
131+
.Next steps
132+
133+
If you are using gateways, you must migrate them before you complete the migration process.
134+
135+
* See: "Migrating gateways"
136+
137+
If you are not using gateways, and have verified your cluster-wide migration, create a default revision tag and relabel namespaces.

modules/ossm-migrating-workloads-using-the-istio-revision-label.adoc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,14 @@ ifeval::["{context}" == "cw-revision"]
129129
endif::[]
130130
ifeval::["{context}" == "cw-revision-cm"]
131131
:!ossm-cert-manager-istio-revision:
132-
endif::[]
132+
endif::[]
133+
134+
.Next steps
135+
136+
If you are using gateways, you must migrate them before you complete the migration process.
137+
138+
* See: "Migrating gateways"
139+
140+
If you are not using gateways, and have verified your cluster-wide migration, you can proceed to complete the migration and remove {SMProduct} 2 resources.
141+
142+
* See: "Completing the Migration"

modules/ossm-migrating-workloads-using-the-simple-migration-method.adoc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,14 @@ The output shows that the `productpage-v1` deployment is the only deployment tha
8383
[NOTE]
8484
====
8585
Remove the `maistra.io/ignore-namespace="true"` label only after the 2.6 control plane has been uninstalled.
86-
====
86+
====
87+
88+
.Next steps
89+
90+
If you are using gateways, you must migrate them before you complete the migration process.
91+
92+
* See: "Migrating gateways"
93+
94+
If you are not using gateways, you can complete your migration.
95+
96+
* See: "Completing the Migration"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// snippet included in the following assembly:
2+
//
3+
// * migrating/cluster-wide/ossm-migrating-cluster-wide.adoc
4+
:_mod-docs-content-type: SNIPPET
5+
6+
[IMPORTANT]
7+
====
8+
Before creating a default revision tag and relabelling the namespaces, you must migrate all remaining workload namespaces, including gateways.
9+
====

0 commit comments

Comments
 (0)