Skip to content

Commit 0f8ddc9

Browse files
authored
Merge pull request #29096 from RichardHoch/resources
Resources migrated and excluded by MTC
2 parents 6b7af86 + 90b9c70 commit 0f8ddc9

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

modules/migration-excluding-resources.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
[id='migration-excluding-resources_{context}']
77
= Excluding resources from a migration plan
88

9-
You can exclude resources, for example, image streams, persistent volumes (PVs), or subscriptions, from a {mtc-full} ({mtc-short}) migration plan in order to reduce the load or to migrate images or PVs with a different tool.
9+
You can exclude resources, for example, image streams, persistent volumes (PVs), or subscriptions, from a {mtc-full} ({mtc-short}) migration plan in order to reduce the resource load for migration or to migrate images or PVs with a different tool.
10+
11+
By default, the {mtc-short} excludes service catalog resources and Operator Lifecycle Manager (OLM) resources from migration. These resources are parts of the service catalog API group and the OLM API group, neither of which is supported for migration at this time.
1012

1113
.Procedure
1214

@@ -41,10 +43,12 @@ spec:
4143
- serviceclasses
4244
- serviceinstances
4345
- serviceplans
46+
- operatorgroups
47+
- events
4448
----
4549
<1> Add `disable_image_migration: true` to exclude image streams from the migration. Do not edit the `excluded_resources` parameter. `imagestreams` is added to `excluded_resources` when the `MigrationController` pod restarts.
4650
<2> Add `disable_pv_migration: true` to exclude PVs from the migration plan. Do not edit the `excluded_resources` parameter. `persistentvolumes` and `persistentvolumeclaims` are added to `excluded_resources` when the `MigrationController` pod restarts. Disabling PV migration also disables PV discovery when you create the migration plan.
47-
<3> You can add {product-title} resources to the `excluded_resources` list. Do not delete any of the default excluded resources. These resources are known to be problematic for migration.
51+
<3> You can add {product-title} resources to the `excluded_resources` list. Do not delete the default excluded resources. These resources are problematic to migrate and must be excluded.
4852

4953
. Wait two minutes for the `MigrationController` pod to restart so that the changes are applied.
5054

modules/migration-mtc-workflow.adoc

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,19 @@
77
[id='migration-mtc-workflow_{context}']
88
= {mtc-full} workflow
99

10-
Migrating an application with the {mtc-short} web console involves the following workflow:
10+
You use the {mtc-full} ({mtc-short}) to migrate Kubernetes resources, persistent volume data, and internal container images from an {product-title} source cluster to an {product-title} {product-version} target cluster by using the {mtc-short} web console or the Kubernetes API.
11+
12+
The ({mtc-short}) migrates the following resources:
13+
14+
* A namespace specified in a migration plan.
15+
16+
* Namespace-scoped resources: When the {mtc-short} migrates a namespace, it migrates all the objects and resources associated with that namespace, such as services or pods. Additionally, if a resource that exists in the namespace but not at the cluster level depends on a resource that exists at the cluster level, the {mtc-short} migrates both resources.
17+
+
18+
For example, a security context constraint (SCC) is a resource that exists at the cluster level and a service account (SA) is a resource that exists at the namespace level. If an SA exists in a namespace that the {mtc-short} migrates, the {mtc-short} automatically locates any SCCs that are linked to the SA and also migrates those SCCs. Similarly, the {mtc-short} migrates persistent volume claims that are linked to the persistent volumes of the namespace.
19+
20+
* Custom resources (CRs) and custom resource definitions (CRDs): The {mtc-short} automatically migrates any CRs that exist at the namespace level as well as the CRDs that are linked to those CRs.
21+
22+
Migrating an application with the {mtc-short} web console involves the following steps:
1123

1224
. Install the {mtc-full} Operator on all clusters.
1325
+

0 commit comments

Comments
 (0)