Day 1: Understand KubeVirt and provision a persistent VM
5 topics, Tap to openTap to close
10:00–11:00KubeVirt architecture and core API objects
KubeVirt extends Kubernetes with APIs for virtual machines. You learn how VirtualMachine, VirtualMachineInstance, the virt-launcher Pod, controllers, and node components work together and which state each object describes. In the DevNinjas Dojo, our cloud learning environment, you trace owner references, status, and events from desired VM state to the running guest.
11:00–12:00Control the VM and VMI lifecycle
A VirtualMachine describes the desired lifecycle, while a VirtualMachineInstance represents a running instance. You compare the available runStrategy values and control a prepared VM with virtctl. Using status and events, you examine when KubeVirt creates, restarts, or removes a VMI and how these transitions differ.
13:00–14:00Images, CDI, and cloud-init
CDI provides images as Kubernetes storage for virtual machines, while cloud-init handles initial guest configuration. You create a DataVolume from a prepared Linux image, follow the import, and reference configuration data from a Secret. You then distinguish the responsibilities of the image source, persistent disk, SSH access, and first-boot configuration.
14:00–15:00Test pod and secondary networks
KubeVirt can attach a VM to the pod network and to additional networks through Multus. You expose a guest application with masquerade through a Service and examine paths allowed or blocked by NetworkPolicy. You compare a prepared Multus attachment with guidance, without assuming identical policy behavior for the secondary network.
15:00–16:00Verify persistent storage for VMs
Persistent VM data remains on Kubernetes volumes independently of an individual VMI. You attach a PVC-backed disk to a VM and examine its role in the learning environment. You examine persistence behaviour and distinguish general StorageClass and access mode properties from additional CSI requirements for migration and snapshots.

