Flux

Flux is a CNCF-graduated GitOps toolkit for Kubernetes. It is a set of controllers that fetch sources, apply Kustomize or Helm, and optionally automate image updates—all driven by CRDs in the cluster. Use this section to install Flux, understand the toolkit, and isolate tenants safely.

When to use Flux

Choose Flux when you want:

  • A controller-native GitOps stack defined entirely as Kubernetes APIs
  • Strong Kustomize and Helm controllers as first-class paths
  • Image automation that commits tag updates back to Git
  • Multi-tenant isolation with least-privilege Flux instances or namespaces

If you need a rich application UI and Project model out of the box, see ArgoCD. For the shared GitOps model, read GitOps principles.

How Flux works

graph TB A[Git / OCI / Helm repo] --> B[Source Controller] B --> C[Kustomize Controller] B --> D[Helm Controller] C --> E[Cluster resources] D --> E F[Image automation] --> A

The Source Controller materializes artifacts (GitRepository, OCIRepository, HelmRepository, and related CRDs). Downstream controllers apply those artifacts. Image automation closes the loop by updating Git when new tags appear—so Git remains the source of truth.

What you’ll learn

GuideWhat it covers
InstallationBootstrap Flux with flux, connect a Git repo, and verify reconciliation
GitOps ToolkitSource, Kustomize, Helm, and image automation controllers and how they compose
Multi-TenancyIsolate teams with namespaces, RBAC, and tenant-scoped Flux paths

Suggested path

  1. Bootstrap — Complete Installation until a sample path syncs successfully.
  2. Learn the APIs — Read GitOps Toolkit so you know which CRD owns which step.
  3. Scale safely — Apply Multi-Tenancy before onboarding multiple teams to one cluster.

FAQ

Is Flux only for Git?
No. Sources can be Git, OCI artifacts, Helm repositories, and buckets. Git is the most common source of truth for app config.

Do I need flux CLI forever?
The CLI is the usual bootstrap and debug tool. Day-2 operations are primarily CRDs; you can manage them with Git alone after install.

How is Flux different from ArgoCD?
Both implement pull-based GitOps. Flux emphasizes composable controllers and CRDs; ArgoCD emphasizes Applications, Projects, and a central UI. Pick based on operational preference, not “which is more GitOps.”