Set Up Flux
Lightweight GitOps.
Overview
Flux brings GitOps to Kubernetes through a set of composable controllers rather than a single monolithic UI. Where ArgoCD lands as a polished UI-first product, Flux lands as a CLI-and-CRD-first toolkit; both reconcile cluster state from git, but Flux fits teams who prefer composing controllers over operating a central application. The setup is opinionated enough to be fast and modular enough to extend cleanly.
- Lightweight GitOps. Composable controllers; no central UI required; right for CLI-first teams who want CD as infrastructure.
- Source controllers. Git, Helm, OCI, and S3 sources; matches diverse artifact stores without per-source glue code.
- Kustomize-native plus Helm controller. Native Kustomize support and a first-class Helm controller; covers the two dominant K8s manifest patterns.
- Image automation. Auto-updates image tags from registry events; closes the CI-to-CD loop without bespoke scripting.
The approach
The practical approach is to install via flux bootstrap (which sets up the Flux controllers and the initial git integration in one command), one cluster-state repo per cluster, Kustomize overlays for per-environment configuration, image automation wiring CI builds into manifest updates, and a documented repo structure so subsequent clusters inherit the same shape rather than diverging.
- flux bootstrap. Standard install command that sets up controllers and git integration; the canonical entry point.
- Repo per cluster. Cluster state lives in git; the audit trail is the git history; rebuilds are reproducible from the repo.
- Kustomize for env overlays. Per-environment configuration as overlays on a shared base; matches the K8s manifest pattern most teams already use.
- Image automation plus documented structure. CI builds image, Flux updates manifest; per-cluster repo layout committed to the team handbook for consistency.
Why this compounds
Flux discipline compounds across clusters. Each cluster inherits the same repo shape; the team’s GitOps vocabulary grows; new joiners onboard into a consistent pattern rather than per-cluster snowflakes. After a few clusters, the deploy surface is one workflow rather than several.
- Release safety. Git-based state produces auditable deploys; rollback is a git revert.
- Drift detection. Flux reconciles continuously; manual cluster changes get reverted unless they go through git.
- Reusable patterns. Standard repo structure captures conventions; new clusters reuse the pattern rather than re-inventing it.
- Institutional knowledge. Each Flux interaction teaches GitOps patterns; the team builds a vocabulary that transfers across clusters and roles.
Flux discipline is an infrastructure investment that pays off across years. Nova AI Ops integrates with deployment telemetry, surfaces reconciliation patterns, and supports the team’s GitOps discipline.