Leaving vSphere behind: Rebuilding a 2,500-VM test lab on KubeVirt
An engineering organization rebuilt its 2,500-VM test lab from vSphere to KubeVirt on 300 hosts using KubeVirtBMC to preserve IPMI provisioning via Metal3.
By Dillip Chowdary • Nov 30, 2026 • Source: CNCF Blog

At a glance
- Adopter scale
- About 300 hosts and 2,500 test VMs
- Original platform
- About 10 team-owned vSphere clusters
- Target platform
- KubeVirt on Kubernetes
- Out-of-band tooling
- KubeVirtBMC over IPMI lanplus
- Migration tool
- Forklift
- Minimum Kubernetes
- Version 1.32 or later
In this post
An unnamed engineering organization running roughly 300 physical hosts and 2,500 test virtual machines migrated its entire test lab from VMware vSphere to KubeVirt on Kubernetes, according to the CNCF Blog's report. Prompted by vSphere licensing shifting to a subscription model, the team chose an all-open-source stack that preserved out-of-band management workflows. By combining Kubernetes, KubeVirt, Containerized Data Importer, cert-manager, Helm, Metal3, KubeVirtBMC, and Forklift, the organization moved every test machine onto native container infrastructure without altering downstream automated tests.
This report examines the architectural strategy, the out-of-band management decoupling, the five-phase rolling implementation, and the deployment setup used during the cutover. Infrastructure engineers, platform architects, and test lab operators evaluating VMware alternatives will see how virtual Baseboard Management Controller emulation allows legacy IPMI and Redfish automation to persist across a Kubernetes migration.
01Out-of-band management and control planes
Moving compute, storage, and networking from vSphere to KubeVirt only addresses half of a test lab migration. The original environment relied on VirtualBMC for vSphere to translate IPMI calls into vCenter operations. Metal3 used Ironic to manage these machines through BareMetalHost resources, executing power cycles and boot device changes over IPMI just like physical servers.
If a migration only moves virtual disks and compute instances, existing BareMetalHost definitions lose their management endpoints. KubeVirtBMC fills this void by acting as a Kubernetes operator that exposes IPMI and Redfish endpoints for KubeVirt virtual machines, translating incoming requests into KubeVirt API calls. The team used KubeVirtBMC with IPMI lanplus support to preserve out-of-band control.
The engineering organization decoupled data migration from management endpoint creation to simplify operations. Forklift migrated disks and virtual machine definitions, while KubeVirtBMC generated a virtual BMC for each target instance inside Kubernetes. This decoupling permitted a phased cutover and integrated BMC life cycles, auditing, and credentials directly into declarative Kubernetes manifests.
02VirtualBMC and KubeVirtBMC operational models
The core operational model remained steady across both environments because VirtualBMC and KubeVirtBMC serve equivalent external functions. Each exposes an IPMI BMC interface for every virtual machine, ensuring upstream management practices through Metal3 remain unchanged even as the backend control plane shifts from vCenter to Kubernetes.
| Dimension | Before: VirtualBMC + vSphere | After: KubeVirtBMC + KubeVirt |
|---|---|---|
| Managed object | vSphere VM | KubeVirt VirtualMachine |
| BMC translation target | vCenter API | Kubernetes and KubeVirt API |
| Protocol used by Metal3 | IPMI lanplus | IPMI lanplus (Redfish also available) |
| How a BMC is created | Imperative CLI on a VirtualBMC host | Declarative VirtualMachineBMC resource |
| Where the BMC runs | A long-lived VirtualBMC process | A pod and Service per VM, managed by the operator |
| Credentials | Stored in VirtualBMC configuration | Kubernetes Secret referenced by the resource |
| Audit and lifecycle | Host-level logs and scripts | Kubernetes API, RBAC, and GitOps history |
| Metal3 BMH change needed | None | Only the BMC address and credentials |
Note: Equivalent here means the same external management model and core usage, not identical internals or complete IPMI command parity.
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
03Target architecture and request flow
The final platform integrates five primary components under a unified Kubernetes control plane. KubeVirt hosts the virtual machines, while Containerized Data Importer and the Container Storage Interface driver process disk storage. Forklift handles data migration from vSphere, and KubeVirtBMC exposes an IPMI lanplus endpoint for every migrated machine via a dedicated NodePort Service.
Inside the destination cluster, the system executes an automated translation sequence whenever a machine is managed. Forklift builds the virtual machine while CDI imports disks as DataVolumes. Operators apply a Kubernetes Secret and a VirtualMachineBMC resource, prompting the KubeVirtBMC controller to create a dedicated virtbmc pod and Service for that specific virtual machine.
- Workload creation Forklift provisions the virtual machine and CDI imports its disk storage as DataVolumes.
- Resource declaration An administrator applies a Kubernetes Secret and a VirtualMachineBMC custom resource by kubectl or GitOps.
- Controller reconciliation The KubeVirtBMC controller spawns a dedicated virtbmc pod and a NodePort Service for the instance.
- Command delivery Metal3 sends IPMI lanplus commands across UDP port 623 directly to the NodePort Service.
- API translation The virtbmc pod translates incoming IPMI commands into native KubeVirt API requests.
- State execution KubeVirt completes the requested action to power on, power off, reboot, or update the boot device.
04Rolling rollout across physical hosts
Rather than attempting an abrupt big-bang cutover, the organization executed an in-place migration across the existing 300 physical servers. Engineers removed an initial set of hosts from the ten vSphere clusters to bootstrap Kubernetes. Each validated migration batch freed up more physical nodes, steadily shrinking vSphere while scaling the destination Kubernetes cluster.
| Phase | Key activities | Completion criteria |
|---|---|---|
| 1. Initial source shrinkage | Remove the first group of physical servers from the vSphere cluster to free resources for bootstrapping the target environment | Released nodes are available, and the remaining vSphere capacity still meets workload needs |
| 2. Target bootstrap | Deploy Kubernetes on the released nodes, then install KubeVirt, CDI, Forklift, and KubeVirtBMC | Test VMs pass validation of the IPMI lanplus, NodePort, and BMH path |
| 3. Pilot migration | Create a Forklift migration plan with a set of representative VMs | Operating systems, drivers, networking, and workloads all work correctly |
| 4. Rolling migration | Migrate VMs in batches; after each batch is accepted, shrink vSphere further and add the released nodes to Kubernetes | Each batch passes workload and BMH management acceptance before the next one starts |
| 5. Final decommissioning | Switch the management endpoints, observe operations, and decommission the old environment | Monitoring stays stable beyond the rollback retention period |
Workloads moved in planned batches, allowing the team to confirm guest operating system drivers, network connectivity, and BareMetalHost controls after every wave. This strategy ensured that remaining vSphere capacity met workload requirements at every transition stage.
05Prerequisites and foundation setup steps
The target environment requires Kubernetes version 1.32 or later, hardware virtualization enabled on all worker nodes, and network reachability from Ironic to each BMC NodePort over UDP. Administrators also need a Container Storage Interface driver, a valid StorageClass, cert-manager for webhook certificates, and ipmitool version 1.8.19 or later when using persistent EFI boot options.
- Operator deployment Operators download the stable KubeVirt release manifests, deploy the operator and custom resources, and wait for availability.
- Storage importer installation Teams install the Containerized Data Importer operator and custom resource to enable DataVolume management for incoming VM disks.
- Certificate management setup Administrators install cert-manager via Helm with custom resource definitions enabled to manage KubeVirtBMC webhook TLS certificates.
- Virtual BMC deployment The team adds the official KubeVirtBMC Helm repository and installs the chart into the kubevirtbmc-system namespace.
- Endpoint generation Operators create a credentials Secret and a VirtualMachineBMC resource in the target namespace, mapping IPMI access to the virtual machine.
Frequently asked questions
Why did the organization migrate away from vSphere?
The engineering organization decided to rebuild its 2,500-VM test lab on Kubernetes after vSphere licensing shifted to a subscription model.
How did the team preserve existing IPMI test automation on Kubernetes?
The team deployed KubeVirtBMC, an operator that creates a virtbmc pod and NodePort Service for each VM to translate IPMI lanplus commands into KubeVirt API operations.
How did the migration run without purchasing additional physical servers?
The cutover ran in place by removing hosts from vSphere in batches, bootstrapping Kubernetes on the released hardware, and expanding the cluster as each VM batch migrated.
What tools managed disk migration and certificate generation?
Forklift migrated VMs and disks while Containerized Data Importer handled DataVolumes, and cert-manager issued webhook certificates for the KubeVirtBMC operator.
Sources
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement