KubeVirtBMC and Forklift move a 2,500-VM vSphere test lab onto KubeVirt without losing IPMI
KubeVirtBMC replaces VirtualBMC for vSphere by exposing IPMI lanplus and Redfish endpoints for KubeVirt VMs, so Metal3 BareMetalHost records keep working with only a BMC address and credential change.
Summary
An unnamed large engineering organization consolidated roughly ten team-owned vSphere clusters, about 300 hosts and about 2,500 test VMs, onto Kubernetes running KubeVirt. The migration was done in place on the same physical servers and in batches: an initial group of hosts was pulled out of vSphere to bootstrap the Kubernetes cluster, and each accepted batch freed more hosts for the target environment. Forklift moved the VMs and their disks, with CDI importing disks as DataVolumes, while cert-manager issued webhook certificates and Helm installed the charts.
The hard part was out-of-band management. The lab's deployment and end-to-end tests drove Metal3 (Ironic) over IPMI through BareMetalHost resources, which previously reached vCenter via VirtualBMC for vSphere. KubeVirtBMC, a Kubernetes operator, now exposes IPMI lanplus and Redfish endpoints for each KubeVirt VM through a per-VM virtbmc pod and NodePort Service on port 623, translating each request into KubeVirt API calls. Metal3 keeps the same BMH records and only the BMC address and credentials change, so the tests continue to power-cycle and set boot devices exactly as before.
How KubeVirtBMC keeps Metal3 provisioning intact
- BMC translation layer: KubeVirtBMC is a Kubernetes operator that exposes IPMI and Redfish endpoints for KubeVirt VMs and converts each incoming request into KubeVirt API operations; the adopter relied on its IPMI lanplus support, with Redfish also available.
- Declarative BMC lifecycle: Instead of an imperative CLI on a long-lived VirtualBMC host, each BMC is a VirtualMachineBMC resource; the controller creates a virtbmc pod and Service per VM, credentials come from a Kubernetes Secret, and audit and lifecycle move into the Kubernetes API, RBAC and GitOps history.
- Unchanged Metal3 path: Metal3 (Ironic) continues to manage machines through the same BareMetalHost resources and sends IPMI lanplus commands to the Service on port 623; only the BMC address and credentials in each BMH need updating.
- Migration split from management: Forklift creates the VM and CDI imports its disks as DataVolumes, while KubeVirtBMC recreates the virtual BMC at the destination, which is what enables batch-by-batch cutover rather than a big-bang move.
- Rolling in-place rollout: The first group of physical servers was removed from vSphere to bootstrap Kubernetes, then KubeVirt, CDI, Forklift and KubeVirtBMC were installed on the released nodes, with each accepted batch freeing more capacity from the source environment.
Why it matters
This is a concrete production reference for teams that want to retire vSphere without rewriting the provisioning and test automation built around IPMI and Metal3. It shows that the out-of-band management path, not just compute and storage, is the migration risk to plan for, and that a Kubernetes operator can substitute for VirtualBMC while keeping BareMetalHost workflows intact. For platform engineers evaluating KubeVirt, it also demonstrates that BMC creation and auditing can be brought under GitOps and RBAC instead of host-level scripts.
Original reference: www.cncf.io →