flux bootstrap
The one-time Flux command that installs the Flux controllers on a cluster and commits their manifests to a Git repository so Flux then manages itself.
In more detail
It needs cluster access and a Git token, and it establishes the trust boundary in one step. Run it once per cluster and repository, review what it committed, and let normal changes arrive through Git.
Example
flux bootstrap github --owner acme --repository platform-config --path clusters/productionRelated terms
- Flux — A GitOps tool for Kubernetes built from small controllers that fetch sources and apply them to the cluster.
- Flux CLI — The flux command-line tool used to bootstrap Flux and to inspect the status and events of its objects.
- GitRepository — A Flux source object that tells the source controller which Git repository and branch to fetch, and how often.
Taught in
- Bootstrapping Flux on a Cluster — Continuous Integration & Continuous Delivery Pipelines