Group: migration.openshift.io
Version: v1alpha1
Kind: VmwareCloudFoundationMigration
Short name: vcfm
Scope: Namespaced
Field
Type
Required
Default
Description
state
MigrationState
No
Pending
Pending, Running, or Paused. Reconciler only acts when Running.
targetVCenterCredentialsSecret
SecretReference
Yes
Secret with target vCenter credentials.
failureDomains
[]VSpherePlatformFailureDomainSpec
Yes (min 1)
Target failure domains. Uses the OpenShift configv1 type.
Value
Meaning
Pending
Migration has not started
Running
Migration is actively progressing
Paused
Migration is paused by the user
Field
Type
Required
Description
name
string
Yes
Secret name
namespace
string
No
Secret namespace (defaults to migration namespace)
The secret must contain keys in the format <vcenter-fqdn>.username and <vcenter-fqdn>.password.
VSpherePlatformFailureDomainSpec (from openshift/api configv1)
Field
Type
Required
Description
name
string
Yes
Unique failure domain name (1-256 chars)
region
string
Yes
Region tag name, category openshift-region (1-80 chars). Reused as-is if the target datacenter already carries an openshift-region tag.
zone
string
Yes
Zone tag name, category openshift-zone (1-80 chars). Reused as-is if the target cluster already carries an openshift-zone tag.
server
string
Yes
Target vCenter FQDN (1-255 chars)
topology.datacenter
string
Yes
Datacenter name (max 80 chars)
topology.computeCluster
string
Yes
Path: /<dc>/host/<cluster>
topology.datastore
string
Yes
Path: /<dc>/datastore/<ds>
topology.networks
[]string
Yes (min 1)
Port group network names
topology.resourcePool
string
No
Path: /<dc>/host/<cluster>/Resources/<pool>
topology.folder
string
No
Path: /<dc>/vm/<folder>
topology.template
string
Yes
Existing VM/template inventory path on the target vCenter; required for every failure domain at admission and verified during preflight
Field
Type
Description
conditions
[]metav1.Condition
Ordered migration phase conditions
startTime
*metav1.Time
When migration entered Running
completionTime
*metav1.Time
When migration reached Ready
Condition Types (in order)
Type
Description
Accepted
Admission gate: True for the singleton instance (cluster), False for unsupported object names
InfrastructurePrepared
Preflight checks passed, migration path validated
DestinationInitialized
Target vCenter folders and topology tags created
MultiSiteConfigured
Cluster recognizes both vCenters
WorkloadMigrated
Workers created on target, control plane rolled out, source scaled to 0
SourceCleaned
Source vCenter fully detached
Ready
Migration complete, all operators healthy
Progressing, Completed, Failed, Paused, UnsupportedName
Paused is applied to the Ready condition while spec.state is Paused (message explains how to resume); it is cleared and replaced with Progressing when the migration is resumed.
NAME STATE READY AGE
sample Running True 5m