You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
. Update the `spec` section by adding a parameter to exclude specific resources or by adding a resource to the `excluded_resources` parameter if it does not have its own exclusion parameter:
23
+
. Update the `spec` section by adding parameters to exclude specific resources. For those resources that do not have their own exclusion parameters, add the `additional_excluded_resources` parameter:
24
24
+
25
25
[source,yaml]
26
26
----
@@ -32,25 +32,15 @@ metadata:
32
32
spec:
33
33
disable_image_migration: true <1>
34
34
disable_pv_migration: true <2>
35
+
additional_excluded_resources: <3>
36
+
- resource1
37
+
- resource2
35
38
...
36
-
excluded_resources: <3>
37
-
- imagetags
38
-
- templateinstances
39
-
- clusterserviceversions
40
-
- packagemanifests
41
-
- subscriptions
42
-
- servicebrokers
43
-
- servicebindings
44
-
- serviceclasses
45
-
- serviceinstances
46
-
- serviceplans
47
-
- operatorgroups
48
-
- events
49
-
- events.events.k8s.io
50
39
----
51
-
<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.
52
-
<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.
53
-
<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.
40
+
<1> Add `disable_image_migration: true` to exclude image streams from the migration. `imagestreams` is added to the `excluded_resources` list in `main.yml` when the `MigrationController` pod restarts.
41
+
<2> Add `disable_pv_migration: true` to exclude PVs from the migration plan. `persistentvolumes` and `persistentvolumeclaims` are added to the `excluded_resources` list in `main.yml` when the `MigrationController` pod restarts. Disabling PV migration also disables PV discovery when you create the migration plan.
42
+
<3> You can add {product-title} resources that you want to exclude to the `additional_excluded_resources` list.
43
+
54
44
55
45
. Wait two minutes for the `MigrationController` pod to restart so that the changes are applied.
56
46
@@ -66,7 +56,7 @@ The output contains the excluded resources:
0 commit comments