Migration CRD

Apply a Migration .yaml to create a migration resource. In a Migration .yaml, source-provider-name is the name of a previously created SourceProvider .yaml.

Applying a Migration .yaml generates a GenerateArtifactsFlow .yaml (Linux) or a WindowsGenerateArtifacts .yaml (Windows). You can then edit or modify these .yamls before executing the migration.

The Migration .yaml has the following format:

apiVersion: anthos-migrate.cloud.google.com/v1beta2
kind: Migration
metadata:
  name: migration-name
  namespace: v2k-system
  annotations:
    anthos-migrate.cloud.google.com/initial-intent: Image | ImageAndData | Data
spec:
  osType: "Linux | Windows"
  sourceSnapshot:
    sourceProvider: "source-provider-name"
    sourceId: "vm-id"