Flux
Flux is a GitOps toolkit for Kubernetes that continuously synchronizes cluster state with configuration stored in a Git repository, using Git as the single source of truth for deployments.
Definition
Flux is a GitOps toolkit for Kubernetes that continuously synchronizes cluster state with configuration stored in a Git repository, using Git as the single source of truth for deployments.
Overview
Flux implements the GitOps pattern: instead of engineers running manual `kubectl apply` commands or ad hoc scripts against a cluster, the desired state of every deployment, config map, and resource lives declaratively in a Git repository. Flux runs inside the cluster, continuously watches that repository, and automatically reconciles the live cluster state to match it whenever a change is merged. This approach gives teams an auditable history of every infrastructure change through Git commits, easy rollback by reverting a commit, and a clear separation between "what should be running" (Git) and "what is actually running" (the cluster), which Flux keeps in sync. It also supports progressive delivery patterns like canary releases when paired with tools such as Argo Rollouts. Flux is a graduated Cloud Native Computing Foundation project and one of the two most widely used GitOps tools alongside Argo CD, which takes a similar approach but with a different architecture and UI emphasis. It works closely with Helm charts and Kubernetes manifests as the artifacts it reconciles, and is often introduced as part of the same pipelines that use GitHub Actions for building and testing before Flux takes over deployment. The Kubernetes course covers the cluster fundamentals that GitOps tools like Flux operate on.
Key Features
- Continuous reconciliation of cluster state against a Git repository
- Native support for Kubernetes manifests, Kustomize, and Helm charts
- Automated image update automation for new container builds
- Multi-tenancy and multi-cluster support for larger organizations
- Auditable deployment history through Git commit logs
- Graduated CNCF project with an active plugin ecosystem
- Works alongside progressive delivery tools for canary rollouts