Devconf.US

Kubernetes as a Hypervisor: Automating the lifecycle of virtual machines in Kubernetes using Ansible and KubeVirt
2024-08-15 , Metcalf Small Ballroom (capacity 100)

Automation is crucial for being able to run reproducible workloads regardless of environment. These days, systems are being run in a variety of locations (on premise, cloud, and at the edge) and managing them effectively is paramount. Ansible, as an automation tool, plays a key role when managing these systems. More and more workloads are being run within Kubernetes thanks to the many benefits provided by the platform. Unfortunately, not all workloads and systems are ready for containers. KubeVirt is an open source project that provides capabilities for running Virtual Machines within Kubernetes and unlocks a new set of opportunities not seen previously. However, KubeVirt only provides the primitives. Additional setup, configuration and management must be applied in order to be truly successful at scale.

Ansible automation simplifies many different aspects when running KubeVirt within Kubernetes as it can be used to not only provide support preparing the operating environment supporting Kubevirt, but assist in all aspects of virtual machine management -- from migration, provisioning, configuration and day-two operations.

In this session, attendees will discover how Ansible, and its support for the KubeVirt ecosystem, treats Kubernetes as yet another target hypervisor

Specifically:

  • The Ansible collections, plugins and modules available for use with KubeVirt
  • Methods for automating the migration of Virtual Machines to Kubernetes and KubeVirt
  • Common automation use cases and approaches when using KubeVirt
  • A reusable set of assets to kickstart an automation journey towards KubeVirt with Ansible

Expand your horizons by running Virtual Machines in new ways while building upon the robust automation of Ansible!

Andrew Block is a Distinguished Architect at Red Hat that works with organizations to design and implement solutions leveraging cloud native technologies. He specializes in Continuous Integration and Continuous Delivery methodologies with a focus on security to reducing the overall delivery time. Andrew is the author of several publications on solutions within the Kubernetes ecosystem, a maintainer on the Helm project, and a contributor to several Open Source projects including Sigstore.

This speaker also appears in:

Harsha Cherukuri is an enthusiastic software technologist with a background in Python, DevOps, Ansible, and container-based tools. He is currently working as a Senior Software Engineer with Red Hat. He is passionate about open-source development and is based out of Ottawa, Canada.