OCP cluster on Libvirt VMs on one Baremetal Server
summary
Builds an OpenShift 4.12 IPI cluster with three masters and two workers entirely as Libvirt VMs on one large bare‑metal server, using the Libvirt API and DCI Ansible playbooks to create VMs, generate inventories and run the installer. Requires enabling nested KVM on the host, creates two virtual networks (provisioning and baremetal) with DHCP/DNS and an outbound router, and includes open‑source automation that spins up the VMs in ~10 minutes and completes OCP install in ~40 minutes. Tested on 150GB RAM enterprise and 56–70GB home‑lab examples.
AI-written summary · about
chapters (17)
- 0:00OpenShift on Libvirt VMs
- 1:02Single-server OpenShift motivation
- 3:54Libvirt and virtual networks
- 5:19Hardware requirements
- 8:27Virtual networks for nodes
- 10:35DCI and Ansible automation
- 13:03Nested KVM requirement
- 14:07Customizing DCI templates
- 17:55Libvirt inventory generation
- 18:57Demo: Virtual OpenShift cluster
- 20:20Verify nodes and networks
- 22:28Deploy OpenShift on cluster
- 24:09Final cluster setup
- 25:36Use case and limitations
- 26:39DCI automation advantages
- 27:44Resources and links
- 28:52Q&A
related talks
19mOpenShift in your own backyard
31mVMs + Containers = The Perfect Wedding
36mPractical experiences with OpenStack on OpenShift
31mAutomate Openshift Cluster deployment with RHACM and AAP
43mBurstable workloads with OKD on ARM
36mBare metal Kubernetes on mixed x64 and ARM64
38mCtrl+Alt+Deploy: Windows Workloads as a Service powered by KubeVirt
32mAutomating lifecycle of virtual machines in Kubernetes using Ansible and KubeVirt
