Posted on December 3, 2026 by Anish Bista (CNCF Golden Kubestronaut), Yan Zhu and Zespre Chang (KubeVirtBMC Maintainers).
Sources indicate that one of KubeVirtBMCโs adopters rebuilt its 2,500-VM test lab on CNCF projects: Kubernetes as the platform, KubeVirt to run the VMs, and Metal3 to provision and manage them over IPMI, with cert-manager and Helm handling certificates and installs. Two open source projects outside the CNCF completed the stack: KubeVirtBMC gave every VM a virtual BMC, Forklift migrated the VMs from the existing vSphere environment.
It has been revealed that in our previous CNCF Blog, Metal3 Meets KubeVirtBMC: Provisioning KubeVirt VMs Like Bare Metal, we revealed how Metal3 can manage KubeVirt virtual machines through KubeVirtBMC exactly as if they were physical servers. Here we follow this adopter as it took that same pattern into production, migrating in-place and batch-by-batch.
A large engineering organization running about 10 team-owned vSphere clusters (about 300 hosts and about 2,500 test VMs) decided to consolidate its test lab onto Kubernetes, so test VMs and cloud native workloads run on one platform. Its deployment and end-to-end tests relied on vSphere plus VirtualBMC, so test VMs could be provisioned and managed over IPMI like physical servers. The goal was to move every VM to KubeVirt without changing how those tests talk to their machines.
Note: The adopter asked to remain unnamed. All numbers in this post are from its real environment.
This post covers the architecture, the in-place rollout strategy, deployment steps, the Forklift migration practice, guest OS troubleshooting, and how the team accepted each cutover.
Sources indicate that moving compute, storage, and networking from vSphere to KubeVirt is the visible part of the job. The out-of-band management path is the part that is easy to overlook.
In the original environment, VirtualBMC for vSphere translated IPMI commands into vCenter operations. Metal3 (Ironic) managed these VMs through BareMetalHost (BMH) resources, so it could power them on and off and set boot devices just as it would for physical servers.
According to recent reports, if a migration moves only VMs and disks, every existing BMH loses its working BMC endpoint. KubeVirtBMC fills that gap. It is a Kubernetes operator that exposes IPMI and Redfish endpoints for KubeVirt VMs and translates each request into KubeVirt API operations. This adopter used its IPMI lanplus support.
A complete migration, therefore, has to answer two questions:.
The team decoupled the two. Forklift migrates VMs and disks, while KubeVirtBMC recreates a virtual BMC for each VM at the destination. This allowed batch-by-batch cutover, and it brought BMC creation, auditing, and lifecycle management into the declarative Kubernetes resource model.
The key idea is simple: VirtualBMC and KubeVirtBMC play the same role, exposing an IPMI BMC for each VM. The backend control plane changes, while the upstream management practice stays the same.
Note: โEquivalentโ here means the same external management model and core usage. It does not mean identical internals, complete IPMI command coverage, or feature parity. Validate the exact IPMI command set your tooling uses before go-live. The supported commands are listed in the KubeVirtBMC IPMI Guide.
Industry observers note that the target architecture has five core parts. Kubernetes provides the unified control plane, KubeVirt hosts the VMs, the CDI and CSI storage path handles disk data, Forklift performs the migration, and KubeVirtBMC exposes an IPMI lanplus endpoint for each target VM through a NodePort Service. Metal3 (Ironic) keeps managing the machines through the same BMHs; only what sits behind each BMC address changes.
Industry observers note that figure 1. Before and after. Metal3 keeps the same BareMetalHost records; only the BMC layer behind each address changes, and Forklift moves the VMs and disks.
In a recent development, figure 2. Inside the destination cluster. The numbers show the order of events for one migrated VM.
Webhook certificates for KubeVirtBMC are issued by cert-manager, and Helm installs both charts..
According to recent reports, the team did not do a one-time, big-bang cutover. The migration ran in place, on the same physical servers: a first group of hosts was removed from vSphere to bootstrap Kubernetes, and each accepted batch then freed more hosts, moving capacity from the source environment to the Kubernetes cluster.
Each migrated VM gets a credentials Secret and a VirtualMachineBMC resource in its own namespace.
It has been revealed that the controller creates a Deployment and a Service named testvm-virtbmc, listening on 623/UDP for IPMI and 80/TCP for Redfish. Verify it from any pod that has ipmitool:.
Finally, point the existing BMH at the fresh endpoint. Nothing else in the BMH changes.
Industry observers note that note: IPMI is disabled by default on a VirtualMachineBMC; set spec.ipmi.enabled: true. A one-shot boot override is applied when the VMI is recreated, so an in-guest reboot keeps the old boot order. Setting rebootPolicy: Terminate fixes this and requires KubeVirt 1.8.0 or later with the RebootPolicy feature gate. Details are in the IPMI Guide.
The BMC Service is ClusterIP by default, which works only when Ironic runs in the same cluster. This adopter exposed each BMC through a NodePort Service, so each BMH points at ipmi://:. Keep those ports reachable only from the provisioning network.
Recent findings suggest that note: A BMC can power off or re-image a VM. Treat every BMC endpoint and credential with the same care as a physical serverโs BMC network.
Sources indicate that forklift, an open source tool for migrating VMs to KubeVirt, moved the VMs and their disks. Everything is declared as Kubernetes resources, so each batch is reviewable and repeatable.
According to recent reports, the team worked one team-owned vSphere cluster at a time. Each batch followed the same pattern:.
Practices that kept batches predictable:.
Note: Forklift migrates VMs and disks only. It does not create BMC endpoints, so the VirtualMachineBMC and BMH steps must be part of every batch runbook. See the Forklift documentation for provider and mapping options.
It has been revealed that at this scale, failed conversions usually come down to two things: the converter could not identify the guest OS, or the guest booted without the VirtIO drivers it needed. During cold migration, Forklift uses virt-v2v to inspect each guest, inject VirtIO drivers, and adjust the boot configuration.
For stubborn Linux guests, preparing the source VM before migration avoided repeated attempts:.
Sources indicate that note: As a last resort, temporarily set the VMโs disk bus to sata in the KubeVirt VirtualMachine spec, boot it, install VirtIO drivers inside the guest, then switch back to virtio. This is slower and should not be the default path.
A batch was accepted only when Metal3 could drive every migrated VM through KubeVirtBMC the same way it drove the vSphere VM before.
Acceptance commands, run against each new endpoint:.
Then confirm at the Metal3 level:.
Industry observers note that rollback stays simple because the two paths are decoupled. Keep the source VMs powered off in vSphere until the batch is accepted. To roll back, power the source VM back on and restore the BMHโs original VirtualBMC address and credentials.
It has been revealed that note: During power transitions KubeVirtBMC may return a retryable Node Busy (0xC0) response instead of an immediate success. Ironic retries automatically; custom scripts should retry too.
KubeVirt, CDI, cert-manager, and KubeVirtBMC pods are healthy.
Every migrated VM has a VirtualMachineBMC with spec.ipmi.enabled: true.
Every BMC Secret is unique per VM and access is limited by RBAC.
Every BMC Service is reachable from Ironic on UDP 623 and from nowhere else.
Power and boot-device commands used by your tests pass against each endpoint.
Every BMH points to its KubeVirtBMC address and reports no BMC errors.
End-to-end deployment tests pass on the migrated VMs.
Source VMs stay powered off, not deleted, until the batch is signed off.
The migration covered about 10 team-owned vSphere clusters, about 300 hosts, and about 2,500 test VMs, moved batch by batch onto KubeVirt.
Other open source used: KubeVirtBMC (virtual BMCs for KubeVirt VMs), Forklift with virt-v2v (VM migration and conversion), and OpenStack Ironic and VirtualBMC.
A hypervisor migration is easiest when the tools above do not notice. By pairing Forklift for workloads with KubeVirtBMC for out-of-band management, this adopter moved about 2,500 test VMs to KubeVirt while Metal3 and every IPMI-based test kept working unchanged. Along the way, BMCs became declarative, auditable Kubernetes resources instead of host-level processes.
If your test lab or CI still depends on VirtualBMC, the same pattern applies: migrate in batches, recreate each BMC with a VirtualMachineBMC, repoint the BMH, and accept each batch before moving on.
Sources indicate that VMware and vSphere are trademarks of Broadcom Inc. This post describes one adopterโs lab migration using KubeVirt and KubeVirtBMC and is not a comparison of products.
