You can migrate stateful application workloads between OpenShift Container Platform 4 clusters at the granularity of a namespace by using the Migration Toolkit for Containers (MTC). To learn more about MTC see understanding MTC.
If you are migrating from OpenShift Container Platform 3, see about migrating from OpenShift Container Platform 3 to 4 and installing the legacy Migration Toolkit for Containers Operator on OpenShift Container Platform 3.
You must install the Migration Toolkit for Containers Operator that is compatible for your OpenShift Container Platform version:
OpenShift Container Platform 4.6 and later versions: Install the Migration Toolkit for Containers Operator by using Operator Lifecycle Manager (OLM).
OpenShift Container Platform 4.5 and earlier versions: Manually install the legacy Migration Toolkit for Containers Operator.
You can upgrade the MTC by using OLM.
Before you migrate your application workloads with the Migration Toolkit for Containers (MTC), review the premigration checklists.
You can automate your migrations and modify the
MigrationController custom resources in order to perform large-scale migrations and to improve performance. You can check the following items:
You can perform the following troubleshooting tasks:
You can roll back a migration by using the MTC web console, the CLI or manually.
You can uninstall the MTC and delete its resources to clean up the cluster.