Posted on November 30, 2026 by Anish Bista (CNCF Golden Kubestronaut), Yan Zhu and Zespre Chang (KubeVirtBMC Maintainers).

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, and Forklift moved the VMs off vSphere.

Sources indicate that in our previous CNCF Blog, Metal3 Meets KubeVirtBMC: Provisioning KubeVirt VMs Like Bare Metal, we highlighted 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.

After vSphere licensing moved to a subscription model, a large engineering organization running about 10 team-owned vSphere clusters (about 300 hosts and about 2,500 test VMs) decided to rebuild its test lab on Kubernetes. 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.

In a recent development, 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 proposal, deployment steps, the Forklift migration practice, guest OS troubleshooting, and how the team accepted each cutover.

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.

Sources indicate that 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.

Recent findings suggest that 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:.

Sources indicate that 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.

Recent findings suggest that 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.

Sources indicate that 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.

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.

In a recent development, 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.

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..

Industry observers note that the team did not do a one-time, substantial-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, shrinking vSphere and growing the Kubernetes cluster.

Each migrated VM gets a credentials Secret and a VirtualMachineBMC resource in its own namespace.

According to recent reports, 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:.

In a recent development, finally, point the existing BMH at the newly introduced endpoint. Nothing else in the BMH changes.

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.

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.

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.

Industry observers note 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:.

In a recent development, 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 newly introduced endpoint:.

Then confirm at the Metal3 level:.

According to recent reports, 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.

Sources indicate 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.

Recent findings suggest that 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.

📌 Read also:

→ Read original article