Argo CD vs Flux
Both are CNCF graduated, both implement the same principles, and both are run at very large scale. The choice rarely comes down to features; it comes down to who operates the platform and how people want to interact with it. This lesson puts them side by side on the same app.
The same deployment, both ways
linkly's production release from an OCI chart with values in Git, expressed for each tool and validated:
mkdir -p argocd flux
cat > argocd/linkly-production.yaml <<'EOF'
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata: {name: linkly-production, namespace: argocd}
spec:
project: linkly
sources:
- repoURL: ghcr.io/acme/charts
chart: linkly
targetRevision: 0.3.2
helm: {releaseName: linkly, valueFiles: [$values/apps/linkly/production/values.yaml]}
- {repoURL: https://github.com/acme/linkly-deploy.git, targetRevision: main, ref: values}
destination: {server: https://kubernetes.default.svc, namespace: linkly-prod}
syncPolicy:
automated: {prune: true, selfHeal: true}
EOF
flux create source oci linkly-chart --url=oci://ghcr.io/acme/charts/linkly --tag=0.3.2 \
--interval=10m --export > flux/linkly-production.yaml
flux create helmrelease linkly --namespace=linkly-prod --chart-ref=OCIRepository/linkly-chart.flux-system \
--values-from=ConfigMap/linkly-production-values --interval=10m --export >> flux/linkly-production.yaml
kubeconform -strict -summary argocd flux
for tool in argocd flux; do
printf '%-7s kinds: %s, lines: %s\n' $tool "$(grep -c '^kind:' $tool/linkly-production.yaml)" "$(wc -l < $tool/linkly-production.yaml)"
doneSummary: 3 resources found in 2 files - Valid: 3, Invalid: 0, Errors: 0, Skipped: 0
argocd kinds: 1, lines: 14
flux kinds: 2, lines: 27
Argo CD needs one object, Flux two (the chart source is its own object), and the Flux file is longer mostly because --export writes block-style YAML. The bigger difference is in what runs it: Argo CD renders the chart and applies objects itself; Flux's helm-controller performs a Helm upgrade, and the values come from a ConfigMap that a Kustomization generates from the Git file (a configMapGenerator in apps/linkly/production/).
Side by side
| Argo CD | Flux | |
|---|---|---|
| Shape | an application platform: API server, UI, SSO, RBAC, controllers | a toolkit of independent controllers and CRDs, no server |
| UI | rich built-in web UI with live object trees, diffs, logs | none built in; third-party (Headlamp plugin, Capacitor, Flux Operator's web UI) |
| Unit of deployment | Application (and ApplicationSet) |
Kustomization / HelmRelease + a source |
| Multi-cluster | one instance can manage many clusters (hub and spoke) | usually one Flux per cluster, all reading Git (hub-and-spoke is possible) |
| Access control | AppProjects + Argo CD RBAC (its own users, SSO groups) | Kubernetes RBAC + impersonation (serviceAccountName) |
| Helm | rendered with helm template; no Helm releases |
real Helm releases (history, hooks, tests, rollback remediation) |
| Ordering | sync waves and hooks inside an app | dependsOn between Kustomizations/HelmReleases |
| Sources | Git, Helm repos, OCI | Git, OCI artifacts (first-class, with signatures), Helm repos, S3 buckets |
| Secrets | via plugins / external tools | SOPS decryption built in |
| Image updates | Argo CD Image Updater (separate project) | image-reflector + image-automation controllers |
| Notifications | notifications-controller with templates and triggers | notification-controller (Providers, Alerts, Receivers) |
| Progressive delivery | Argo Rollouts (same family) | Flagger (same family) |
| Manual operations | sync, rollback, terminate, refresh from the UI or CLI | flux reconcile, suspend, resume; no rollback command |
How to choose
Lean towards Argo CD when:
- developers who are not Kubernetes experts need to see their apps: the UI is the main selling point;
- a central platform team runs one control plane for many clusters;
- you want app-level RBAC and SSO independent of cluster RBAC.
Lean towards Flux when:
- the cluster should be as self-contained as possible (bootstrap from Git, nothing to log in to, small footprint);
- you deploy many Helm charts and want real Helm semantics (hooks, tests,
helm list); - OCI artifacts, signature verification and SOPS are central to your supply chain;
- you build a platform on top (Flux's CRDs are easy to generate and compose).
Running both happens too: Flux bootstraps the cluster add-ons (including Argo CD itself), and Argo CD serves application teams with its UI. It works as long as each object has exactly one owner; two agents reconciling the same object fight forever.
The questions that matter more than the tool
- Where does the desired state live, and who can change it? (repo layout, CODEOWNERS, branch protection)
- How does a version move from staging to production? (promotion by commit, gates)
- How do you find out that a sync failed, or that production drifted? (notifications, dashboards on
Ready/health) - What is the break-glass procedure? (suspend or disable auto-sync, fix, commit, resume)
Answer those, and switching tools later is mostly a translation of YAML.
Test yourself
A team wants developers to browse their apps' live object trees, diffs and logs in a web UI. Which tool fits best out of the box?
- Flux
- Argo CD
- Neither has a UI
- Both equally
Which tool runs real Helm releases, so that helm list and Helm tests work?
- Argo CD
- Flux's helm-controller
- Both
- Neither
When is running Argo CD and Flux in the same cluster safe?
- Never
- When each object is reconciled by exactly one of them
- Only with self-heal off
- Only on different Kubernetes versions