Installing the Cluster Application Migration Operator on an OpenShift Container Platform 4.2 source cluster

You can install the Cluster Application Migration Operator on an OpenShift Container Platform 4.2 source cluster with OLM.

Procedure
  1. In the OpenShift Container Platform web console, click AdministrationNamespaces.

  2. Click Create Namespace.

  3. Enter openshift-migration in the Name field and click Create.

  4. Click OperatorsOperatorHub.

  5. Use the Filter by keyword field (in this case, Migration) to find the Cluster Application Migration Operator.

  6. Select the Cluster Application Migration Operator and click Install.

  7. On the Create Operator Subscription page, select the openshift-migration namespace, and specify an approval strategy.

  8. Click Subscribe.

    On the Installed Operators page, the Cluster Application Migration Operator appears in the openshift-migration project with the status InstallSucceeded.

  9. Under Provided APIs, click View 12 more…​.

  10. Click Create NewMigrationController.

  11. Update the migration_controller and migration_ui parameters in the spec stanza:

    spec:
      [...]
      migration_controller: false
      migration_ui: false
      [...]
  12. Click Create.

  13. Click WorkloadsPods to verify that the Restic and Velero Pods are running.

Installing the Cluster Application Migration Operator on an OpenShift Container Platform 4.3 target cluster

You can install the Cluster Application Migration Operator on an OpenShift Container Platform 4.3 target cluster with OLM.

The Cluster Application Migration Operator installs the CAM tool on the target cluster by default. If you want to install the CAM tool on a different cluster, you must update the Migration controller configuration so that the Cluster Application Migration Operator does not install the CAM tool on this cluster.

Procedure
  1. In the OpenShift Container Platform web console, click AdministrationNamespaces.

  2. Click Create Namespace.

  3. Enter openshift-migration in the Name field and click Create.

  4. Click OperatorsOperatorHub.

  5. Use the Filter by keyword field (in this case, Migration) to find the Cluster Application Migration Operator.

  6. Select the Cluster Application Migration Operator and click Install.

  7. On the Create Operator Subscription page, select the openshift-migration namespace, and specify an approval strategy.

  8. Click Subscribe.

    On the Installed Operators page, the Cluster Application Migration Operator appears in the openshift-migration project with the status InstallSucceeded.

  9. Under Provided APIs, click View 12 more…​.

  10. Click Create NewMigrationController.

  11. If you do not want to install the CAM tool on the target cluster, update the migration_controller and migration_ui parameters in the spec stanza:

    spec:
      [...]
      migration_controller: false
      migration_ui: false
      [...]
  12. Click Create.

  13. Click WorkloadsPods to verify that the Controller Manager, Migration UI, Restic, and Velero Pods are running.