sympatheticmoose / weave-gitops-multicluster-demo

Example showing 3 local k8s clusters and a variety of deployments managed with Weave GitOps Core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

weave-gitops-multicluster-demo

Example showing 4 local k8s clusters and a variety of deployments managed with Weave GitOps Core using this repository as the config repo.

Kubernetes clusters

  • Kind - 2 versions running v1.23.1 and v1.22.4 (kind create cluster --name <name> --image kindest/node:<tag>)
  • Minikube
  • k3d

Demo applications

Application deployments by cluster

  • Kind 1.23.1: podinfo-deploy (kustomize)
  • Kind 1.22.4: podinfo-deploy (kustomize), Loki (helm)
  • Minikube: podinfo (kustomize), Loki (helm)
  • k3d: podinfo-deploy (kustomize)

Try for yourself

  1. Install Weave GitOps Core CLI
  2. Run gitops install --config-repo <path-to-your-config-repo>.
  3. Add apps from your cluster(s):

Notes

  • can save time by exporting your config repo as export CONFIG_REPO=<"url of config repo"> then just adding $CONFIG_REPO into CLI calls.
  • running multiple clusters on laptop is a bit resource hungry. Can stop/restart (kind at least) by doing docker ps -a to find the appropriate containers and then docker start|stop and will restore cluster state.

About

Example showing 3 local k8s clusters and a variety of deployments managed with Weave GitOps Core