Flux CD Cheatsheet

← All cheatsheets
$ flux get all -A
IntermediateGitOpsUpdated October 2026

Bootstrap Flux, manage Git and Helm sources, reconcile Kustomizations and HelmReleases, and trace what Flux deployed.

Install and bootstrap

flux check --preCheck the cluster meets Flux requirements
flux bootstrap github --owner=$GITHUB_USER --repository=fleet-infra --branch=main --path=./clusters/my-cluster --personalBootstrap Flux into a GitHub repo
flux checkVerify Flux controllers are healthy
flux get all -AShow every Flux object and its status
flux uninstallRemove Flux from the cluster

Sources

flux create source git podinfo --url=https://github.com/stefanprodan/podinfo --branch=master --interval=1m --export > podinfo-source.yamlGenerate a GitRepository manifest
flux get sources git -AList Git sources
flux create source helm bitnami --url=https://charts.bitnami.com/bitnami --interval=1hAdd a Helm repository source
flux get sources helm -AList Helm sources
flux reconcile source git flux-systemFetch the latest commit now

Kustomizations

flux create kustomization podinfo --source=GitRepository/podinfo --path="./kustomize" --prune=true --interval=5m --target-namespace=default --exportGenerate a Kustomization manifest
flux get kustomizations -AList Kustomizations and their revision
flux reconcile kustomization flux-system --with-sourcePull Git and apply now
flux suspend kustomization podinfoPause reconciliation
flux resume kustomization podinfoResume reconciliation
flux diff kustomization podinfo --path ./kustomizePreview changes before pushing

Helm releases

flux create helmrelease redis --source=HelmRepository/bitnami --chart=redis --chart-version="20.x" --target-namespace=dataCreate a HelmRelease
flux get helmreleases -AList HelmReleases
flux reconcile helmrelease redis -n flux-systemUpgrade the release now

Debugging

flux logs -A --level=errorShow controller errors
flux events -AShow recent Flux events
flux tree kustomization flux-systemShow what a Kustomization manages
flux trace podinfo --kind=Deployment --api-version=apps/v1 -n defaultFind which source deployed an object