Export all Flux resources flux
Backup current Flux config as plain YAML for bootstrapping another cluster
flux export kustomization --all > clusters/cluster.yaml
more flux
all 29 commands →
Bootstrap with GitHub
flux bootstrap github --owner=<org> --repository=<repo> --branch=main --path=clusters/production --personal
Create GitRepository source
flux create source git <name> --url=https://github.com/org/repo --branch=main -n flux-system
Create HelmRepository source
flux create source helm <name> --url=https://charts.example.com -n flux-system
Create HelmRelease
flux create helmrelease <name> --source=HelmRepository/<repo> --chart=<chart> --chart-version='>=1.0.0' -n <ns>
Get Flux events
kubectl get events -n flux-system --sort-by='.lastTimestamp' | tail -20