Skip to content

ksemele/fluxv2-test

Repository files navigation

Flux monorepo demo repository

This is a repository with an example of organizing a monorepo for multiple clusters using FluxCD tool.

The first version is described in the article here and the repository for it is located here

This is a new version that I want to update constantly.

Prerequisites

  1. Create your Kubernetes cluster (my simple example for GKE available here, kind or minikube will work too)
  2. Clone this repo
  3. Bootstrap flux v2:
kubectl apply -f ./components/flux/prod/gotk-components.yaml
  1. Apply flux resource to sync this repo and your cluster
kubectl apply -f clusters/cluster-002/sync-code/flux-system/gotk-sync.yaml
  1. Check Weave gitops

forward port

kubectl -n flux-system port-forward svc/weave-gitops 9001:9001

login on http://localhost:9001

use admin:admin

  1. Uninstall flux
flux uninstall

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published