Development Cluster Setup
To develop and test the Vidra Operator locally, create a Kubernetes cluster using either minikube or kind. Both tools provide a simple way to run Kubernetes on your machine for day-to-day development tasks.
Local Solution | Quick-Start Guide |
---|---|
minikube | https://minikube.sigs.k8s.io/docs/start/ |
kind | https://kind.sigs.k8s.io/docs/user/quick-start/ |
Infrahub
Installation
To install Infrahub in your local cluster, follow the Infrahub installation guide.
We recommend Docker Compose for local Infrahub installations. It simplifies the setup process and is well-suited for development environments. For production deployments, consider using the Helm chart repo.
Configuration
To configure Infrahub for Vidra, ensure Infrahub generates the necessary artifacts with valid Kubernetes manifests. You can get an idea of how to configure Infrahub for Vidra by looking at our guide: Preparing Infrahub for Vidra.
KubeVirt
If you want your cluster to be able to run virtual machines, you can install KubeVirt. This is not required for Vidra, but it is a nice addition to be able to create and manage virtual machines from Infrahub.
We tested Infrahub and Vidra with KubeVirt on a Talos Linux cluster.
While other Kubernetes distributions probably work, we recommend Talos.