Overview: Manage OpenShift virtual machines with GitOps
Managing virtual machines in an Infrastructure as Code (IaC) environment requires efficiency and reliability. One of the central ideas for this is having a single source of truth (SSoT) in order to ensure consistency in resources, improve automation, and leverage processes such as version control. In this type of secluded environment, we can track and test changes and increase our scalability with ease.
This learning path will showcase how to use Red Hat OpenShift GitOps with a Git repository as a single source of truth for our infrastructure, thereby enhancing automation, consistency, and efficiency for VMs in Red Hat OpenShift Virtualization. We’ll also implement some recommended best practices, which can help streamline your processes and workflows for maintaining and configuring virtual machines.
Prerequisites:
- A GitHub account.
- An OpenShift Cluster with the Red Hat OpenShift Virtualization and Red Hat OpenShift GitOps operators installed and configured.
- You will also need to configure Argo CD within GitOps—for this demonstration, all of the default settings have been used for Argo.
In this learning path, you will:
- Learn how to connect an external Git repository to your Argo CD instance in OpenShift.
- Use a Git repository to store configuration files to modify and control VMs.
- Deploy an Argo CD application that creates and manages VMs using GitOps principles.