youtube image
From YouTube: Running KubeVirt Workloads with No Additional Privileges - Ľuboslav Pivarč, Red Hat

Description

Running KubeVirt Workloads with No Additional Privileges - Ľuboslav Pivarč, Red Hat

Kubevirt allows running VMs natively alongside containers on top of Kubernetes, enabling faster containerization, serving legacy workloads, security-sensitive applications, and many more use cases. One of the best practices for running container workloads is to not run them as root, drop all privileges and use Linux Security Modules, such as SELinux or AppArmor. Two years ago Kubevirt started cutting down on capabilities that are used to run VMs with the ultimate goal of requiring no additional capability. Simultaneously Kubevirt integrated seamless SELinux support with its own policy for running VMs. The missing part was running VMs as a rootless user and recently this option landed in Kubevirt. I would like to present what it took to achieve it with Kubernetes and Libvirt and show how important it is to have this use case in mind while implementing new features into the Virtualization stack.