Fun Is the Glue That Makes Everything Stick, Also the OCP

This is part two of my series on the OCP-17. In my first post, I explained why it’s still worthwhile to tackle the trick questions and arcane details of this exam. Each of us has our own sense of how much knowledge is good enough to get a job done, like writing Java code. The examiners at Oracle probably put the bar much higher than you. If you can’t somehow make the journey fun, you’re bound to give up. So, your motivation needs an upgrade, and you must put in the right practice. In this post, we will look at both.

Amateur Versus Professional Practice

Not all practice makes perfect. Poor practice doesn’t even make you proficient. It’s not the hours that count, although Malcolm Gladwell in Outliers claimed you need at least 10,000. This sweeping statement with its conveniently round number is questionable science, to say the least. Excellence itself is not a well-defined notion. People’s innate aptitudes are not created equal. Some are born geniuses. But most importantly, the hours you put in must be effective.

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: