Home / Blog / Leaving vSphere behind: Rebuilding a 2,500-VM test lab on…
Tech News

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

Leaving vSphere behind: Rebuilding a 2,500-VM test lab on KubeVirt
Image: 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

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.

DimensionBefore: VirtualBMC + vSphereAfter: KubeVirtBMC + KubeVirt
Managed objectvSphere VMKubeVirt VirtualMachine
BMC translation targetvCenter APIKubernetes and KubeVirt API
Protocol used by Metal3IPMI lanplusIPMI lanplus (Redfish also available)
How a BMC is createdImperative CLI on a VirtualBMC hostDeclarative VirtualMachineBMC resource
Where the BMC runsA long-lived VirtualBMC processA pod and Service per VM, managed by the operator
CredentialsStored in VirtualBMC configurationKubernetes Secret referenced by the resource
Audit and lifecycleHost-level logs and scriptsKubernetes API, RBAC, and GitOps history
Metal3 BMH change neededNoneOnly 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.

  1. Workload creation Forklift provisions the virtual machine and CDI imports its disk storage as DataVolumes.
  2. Resource declaration An administrator applies a Kubernetes Secret and a VirtualMachineBMC custom resource by kubectl or GitOps.
  3. Controller reconciliation The KubeVirtBMC controller spawns a dedicated virtbmc pod and a NodePort Service for the instance.
  4. Command delivery Metal3 sends IPMI lanplus commands across UDP port 623 directly to the NodePort Service.
  5. API translation The virtbmc pod translates incoming IPMI commands into native KubeVirt API requests.
  6. 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.

PhaseKey activitiesCompletion criteria
1. Initial source shrinkageRemove the first group of physical servers from the vSphere cluster to free resources for bootstrapping the target environmentReleased nodes are available, and the remaining vSphere capacity still meets workload needs
2. Target bootstrapDeploy Kubernetes on the released nodes, then install KubeVirt, CDI, Forklift, and KubeVirtBMCTest VMs pass validation of the IPMI lanplus, NodePort, and BMH path
3. Pilot migrationCreate a Forklift migration plan with a set of representative VMsOperating systems, drivers, networking, and workloads all work correctly
4. Rolling migrationMigrate VMs in batches; after each batch is accepted, shrink vSphere further and add the released nodes to KubernetesEach batch passes workload and BMH management acceptance before the next one starts
5. Final decommissioningSwitch the management endpoints, observe operations, and decommission the old environmentMonitoring 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.

  1. Operator deployment Operators download the stable KubeVirt release manifests, deploy the operator and custom resources, and wait for availability.
  2. Storage importer installation Teams install the Containerized Data Importer operator and custom resource to enable DataVolume management for incoming VM disks.
  3. Certificate management setup Administrators install cert-manager via Helm with custom resource definitions enabled to manage KubeVirtBMC webhook TLS certificates.
  4. Virtual BMC deployment The team adds the official KubeVirtBMC Helm repository and installs the chart into the kubevirtbmc-system namespace.
  5. 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

Dillip Chowdary

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

5-min tech signal

Weekday briefing for engineers who skip the noise.

No spam · Unsubscribe anytime

Advertisement

✈️ CareerPilot

Your AI job-search copilot

Match your resume against live Ashby, Greenhouse & Lever openings — fit scores, job-specific resume optimization and email alerts.

Find matching jobs →

Free Tools

Browse all tools →