Export all Kustomizations
Saves all Kustomizations as plain YAML, as a backup or to bootstrap another cluster
flux export kustomization --all > clusters/cluster.yaml
- tool
- flux29 commands
More flux commands
-
flux bootstrap github --owner=<org> --repository=<repo> --branch=main --path=clusters/production --personalInstalls Flux and pushes the initial config to a GitHub repo
-
flux create source git <name> --url=https://github.com/org/repo --branch=main -n flux-systemRegisters a git repo as a Flux source
-
flux create source helm <name> --url=https://charts.example.com -n flux-systemRegisters a Helm chart repository as a Flux source
-
flux create helmrelease <name> --source=HelmRepository/<repo> --chart=<chart> --chart-version='>=1.0.0' -n <ns>Deploys a chart with a Flux HelmRelease resource
-
kubectl get events -n flux-system --sort-by='.lastTimestamp' | tail -20The last 20 events in the flux-system namespace