Skip to content

ksemele/fluxv2-test

Repository files navigation

How to apply

  1. Create your Kubernetes cluster
  2. Clone this repo
  3. Bootstrap flux v2

Here is one of possible ways to simple bootstrap:

install flux cli:

If you creating your own repo (this file contain all CRD's for flux controllers and resources, already exist in this repo):

flux install --export > clusters/ksemele-demo-gke/sync-code/flux-system/gotk-components.yaml

Check your cluster is ready to install flux:

flux check --pre

e.g.

$ flux check --pre
► checking prerequisites
✔ Kubernetes 1.25.7-gke.1000 >=1.20.6-0
✔ prerequisites checks passed

Install flux into your cluster (check your context):

flux install

Optional: check installation after complete

flux check
  1. Apply flux resource to sync this repo and your cluster
kubectl apply -f clusters/ksemele-demo-gke/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