An unnamed engineering organization has moved a test lab of about 2,500 virtual machines from vSphere to KubeVirt, using Kubernetes, Metal3 and open-source migration and management tools. The rollout took place in batches on the same physical hosts, preserving the IPMI-based management workflow used by the lab’s deployment and end-to-end tests.
The environment previously comprised about 10 team-owned vSphere clusters and roughly 300 hosts. The organization began rebuilding the lab after vSphere licensing moved to a subscription model. Its goal was to shift the VMs without requiring existing tests to change how they provisioned or controlled machines.
The central design challenge was not just transferring VM disks and workloads. Metal3, through OpenStack Ironic, had used BareMetalHost (BMH) resources and VirtualBMC to send IPMI commands to vSphere VMs. Moving a VM alone would leave its existing BMH pointing to a management endpoint that no longer controlled it.
Keeping the management path intact
The replacement stack assigns separate roles to migration and out-of-band management. Forklift moves VMs and disks from vSphere to KubeVirt. KubeVirtBMC then provides a virtual baseboard management controller for each destination VM, translating IPMI requests into Kubernetes and KubeVirt API operations. Metal3 continues to manage the machines through BMH records; the endpoint and credentials are updated for each migrated VM.
The adopter used IPMI lanplus, the same protocol path as before. KubeVirtBMC also offers Redfish, which its documentation recommends for new production integrations. The maintainers caution that matching the external management model does not mean full IPMI command coverage or feature parity, so organizations need to verify the commands their tools require before deployment.
Each VM’s BMC is represented by a VirtualMachineBMC resource and a credentials Secret. The KubeVirtBMC operator creates a pod and Service for the VM. In the reported setup, BMC Services were exposed through NodePort so Ironic could reach them. IPMI uses UDP port 623, and the network path should be restricted to the provisioning network. The guidance also calls for per-VM credentials and access controls through Kubernetes RBAC.
Rolling migration on existing hardware
Rather than schedule a single large cutover, the organization removed an initial group of servers from vSphere to bootstrap Kubernetes. After batches of VMs were migrated and accepted, the freed hosts could be added to the Kubernetes cluster. That approach progressively reduced the vSphere footprint while expanding the destination environment.
The team first established Kubernetes, KubeVirt, the Containerized Data Importer (CDI), Forklift and KubeVirtBMC, along with storage and certificate services. It then tested representative VMs before migrating in batches. The stated prerequisites include Kubernetes 1.32 or later and hardware virtualization on worker nodes. The KubeVirtBMC Quick Start is tested with KubeVirt 1.9.0.
For each batch, the team configured vSphere and destination providers in Forklift, mapped source networks and datastores to destination networks and StorageClasses, and defined a migration plan. It used cold migration for test VMs, keeping VM names and MAC addresses to avoid disrupting test references. A VDDK image was used on the vSphere provider to speed disk transfer for large batches.
Forklift handles VM and disk migration but does not create BMC endpoints. Consequently, creating each VirtualMachineBMC and updating its BMH were explicit steps in the batch procedure. The source VMs remained powered off rather than being deleted, preserving a rollback option: restore the original VirtualBMC address and credentials, then power the source VM back on.
Guest compatibility and acceptance checks
Guest conversion required attention to operating-system detection and VirtIO drivers. During cold migration, Forklift uses virt-v2v to inspect guests, inject drivers and adjust boot configuration. The migration guidance flags unsupported or customized operating systems, encrypted disks, missing Linux initramfs drivers, device-name-based disk references and missing Windows VirtIO storage drivers as potential issues. Preparing Linux guests with VirtIO drivers or using UUIDs or labels for disk references can help address some of these problems.
Before accepting a batch, the team checked that IPMI commands could report power status, power machines off and on, reset them and set boot devices. It also verified BMH health and ran the lab’s end-to-end tests. During power transitions, KubeVirtBMC may return a retryable “Node Busy” response; Ironic retries automatically, while custom scripts should also retry.
According to the maintainers’ account, the migration covered about 10 clusters, 300 hosts and 2,500 test VMs. The test suites continued using IPMI and the existing BMH-based workflow, while BMC creation, credentials and lifecycle management moved into Kubernetes resources. The case illustrates how a hypervisor transition can include a change in operational control without requiring a simultaneous rewrite of the systems that manage the test machines.