Migrating 2,500 VMs from vSphere to KubeVirt without breaking IPMI workflows
An engineering team replaced vSphere with KubeVirt for a 2,500-VM test lab, using KubeVirtBMC and Forklift to preserve Metal3 provisioning workflows.
A large engineering organization recently migrated its 2,500-VM test lab from VMware vSphere to a Kubernetes-based stack using KubeVirt. The transition, completed in late 2026, relied on open-source tools like KubeVirtBMC and Forklift to maintain existing infrastructure-as-code workflows. This move was driven by the shift in vSphere licensing to a subscription model, prompting the team to rebuild their environment on CNCF projects while preserving critical out-of-band management capabilities.
What happened
The organization operated approximately ten team-owned vSphere clusters across 300 physical hosts, supporting around 2,500 virtual machines used for deployment and end-to-end testing. Their automation pipeline depended heavily on Metal3 (Ironic) to provision and manage these VMs as if they were bare-metal servers. This setup required VirtualBMC to translate IPMI commands into vCenter operations, allowing Metal3 to control power states and boot devices remotely. When vSphere changed its licensing structure, the team decided to migrate entirely to Kubernetes rather than absorb new costs.
The migration was not a simple lift-and-shift of compute resources. The core challenge lay in preserving the out-of-band management path that Metal3 relied upon. If the team had only moved VM disks and compute instances, every existing BareMetalHost (BMH) resource would have lost its connection to the BMC endpoint, breaking their automation. To solve this, they decoupled the workload migration from the management layer reconstruction. They used Forklift to move VMs and disks, while simultaneously deploying KubeVirtBMC to recreate virtual BMC endpoints for each migrated VM.
The rollout followed an in-place, batch-by-batch strategy. The team removed an initial group of physical hosts from the vSphere cluster to bootstrap the new Kubernetes environment. As each batch of VMs was successfully migrated and validated, they freed up more hosts from vSphere, adding them to the Kubernetes cluster. This rolling approach allowed them to shrink the legacy environment gradually while expanding the new one, minimizing risk and avoiding a disruptive big-bang cutover.
How it works
KubeVirtBMC acts as the bridge between traditional infrastructure management tools and Kubernetes-native virtualization. It is a Kubernetes operator that exposes IPMI and Redfish endpoints for KubeVirt VMs. When Metal3 sends an IPMI command, such as a power cycle or boot device change, KubeVirtBMC intercepts it and translates it into a corresponding KubeVirt API call. This allows existing tooling to interact with virtual machines exactly as it would with physical servers, maintaining the same operational model despite the underlying platform change.
Forklift handles the actual data movement. It registers the vSphere source and the Kubernetes destination as providers, then maps networks and storage classes accordingly. For each batch, Forklift creates a migration plan that moves VM disks into Containerized Data Importer (CDI) DataVolumes. Crucially, Forklift does not create BMC endpoints; this step is handled separately by applying a VirtualMachineBMC resource for each VM. This separation ensures that the management layer is declarative and integrated into the Kubernetes resource model, enabling audit trails and GitOps practices that were difficult to achieve with the previous imperative VirtualBMC setup.
Key details
- Scale: The migration covered about 2,500 test VMs across 300 hosts, moving from ten vSphere clusters to a unified Kubernetes platform.
- Management Parity: KubeVirtBMC replaces VirtualBMC, exposing IPMI lanplus endpoints that allow Metal3 to manage VMs without changing its BareMetalHost configurations.
- Migration Tool: Forklift performs cold migrations, handling disk conversion and VirtIO driver injection, but requires manual creation of VirtualMachineBMC resources for each VM.
- Rollout Strategy: The team used an in-place rolling migration, freeing hosts from vSphere to bootstrap Kubernetes, then migrating VMs in batches to gradually expand the new cluster.
- Driver Handling: Successful Linux migrations often required pre-installing VirtIO drivers or rebuilding initramfs images to ensure guests could boot with virtio_blk and virtio_net modules.
- Security: BMC endpoints are exposed via NodePort services, requiring strict NetworkPolicies to restrict access to the provisioning network and per-VM secrets for credentials.
Why it matters
For teams building infrastructure platforms, this case study demonstrates that moving away from proprietary virtualization stacks does not require sacrificing mature operational patterns. Many organizations rely on IPMI-based provisioning because it abstracts hardware differences and provides a consistent interface for automation. By using KubeVirtBMC, engineers can retain these familiar workflows while gaining the benefits of Kubernetes, such as declarative configuration, better auditability, and integration with the broader CNCF ecosystem. This reduces the learning curve and operational risk associated with platform migrations.
Furthermore, the separation of concerns between data migration (Forklift) and management layer reconstruction (KubeVirtBMC) offers a flexible template for large-scale transitions. It allows teams to validate the management plane independently of the data plane, ensuring that automation scripts continue to function before fully committing to the new environment. This approach is particularly valuable for test labs and CI/CD environments where stability and reproducibility are critical, and where downtime can be managed through careful batching.
What you can do
- Evaluate KubeVirtBMC if your current workflow relies on IPMI or Redfish for VM management, as it provides a direct replacement for VirtualBMC in Kubernetes environments.
- Test cold migration with Forklift in a non-production environment to identify guest OS compatibility issues, particularly around VirtIO driver availability in Linux initramfs.
- Implement strict NetworkPolicies to isolate BMC traffic, ensuring that only your provisioning service (like Ironic) can access the IPMI endpoints exposed by KubeVirtBMC.
- Prepare Linux guests before migration by adding virtio_blk, virtio_scsi, and virtio_net drivers to their initramfs to prevent boot failures after conversion.
- Use separate Kubernetes Secrets for each VM’s BMC credentials and rotate them regularly, treating these endpoints with the same security rigor as physical server BMCs.
- Plan your migration in small batches, validating Metal3 operational status for each group before proceeding, to maintain a reliable rollback path using powered-off source VMs.



