KubeVirt in Action

Introduction

KubeVirt is an open-source project that offers you a VM-based virtualization option on top of any Kubernetes cluster. Lots of work happened in this area in the last couple of years, and Kubevirt is reaching the maturity stage to become production-ready. In this article, we will see how to deploy this in Openshift Container Platform (OCP) 4.2 and get your first windows VM up and running inside OCP.

Prerequisites

  • Up and running OCP 4.2 cluster.
  • KubeVirt V0.24.0.
  • Windows 2012 R2 ISO download.
  • Containerize Data Importer (CDI) operator for ISO image upload.
  • virtctl for operating on VM.

High-Level Steps

To run a windows-based VM using Windows ISO file, the following 8 steps are required: