Migrate to Containers CLI architecture
This page provides a high-level description of how Migrate to Containers CLI transforms your applications residing on virtual machine (VM) instances into artifacts that you can use to deploy your application components from the source environment to a target cluster on Google Kubernetes Engine (GKE) or Anthos.
Migrate to Containers CLI components
Modernization using Migrate to Containers CLI spans across three steps: Transformation, Workload deployment, and Maintenance.
Transformation -- Migrate to Containers CLI is used to transform a VM-based application component into a container-based application component ready to be deployed. This spans across four phases:
- Copy -- Copy the file system of the target machine to the local machine.
- Analyze -- Analyze the file system to create a modernization plan.
- Edit -- Edit the plan to modify the modernization outputs to fit your needs.
- Generate -- Generate artifacts such as Docker files, Docker contexts, Kubernetes deployment files and Skaffold configuration.
Workload deployment -- You can deploy Migrated container workloads on any GKE or Anthos cluster meeting the minimum requirements. The migration artifacts can include one or more Dockerfiles, one or more Kubernetes deployment specs, and a Skaffold configuration file.
Maintenance -- After you migrate container workloads, you typically perform optimization and maintenance operations. The extracted workload content and the generated Dockerfile can be integrated in a CI/CD pipeline for efficient image-based maintenance.