GenerateArtifactsTask CRD
Apply a GenerateArtifactsTask .yaml to execute a migration. You must specify the name of the Migration .yaml used to generate the GenerateArtifactsFlow .yaml to execute the migration.
The GenerateArtifactsTask .yaml has the following format:
apiVersion: anthos-migrate.cloud.google.com/v1beta2 kind: GenerateArtifactsTask metadata: name: task-name namespace: v2k-system spec: migration: name: migration-name
- Set the value of the
name
field formigration
to the name specified in the Migration yaml when you created the migration.