TL;DR:
- Flux and Argo CD are both CNCF-graduated GitOps tools that keep your Kubernetes clusters in sync with what you store in Git
- Argo CD gives you a full web UI and works well when you want one central place to manage many clusters
- Flux is a set of small controllers that run inside each cluster, and is great for automation and platform teams
- When choosing between them, consider how your team works, how many clusters you run, and how much you care about a UI
- Lens Kubernetes IDE supports both, so you can see what Flux or Argo CD is doing right next to your workloads
Don't feel like reading? Watch the video instead:
If you are running applications on Kubernetes, you have probably heard about GitOps. The idea of GitOps is simple: you store the desired state of your cluster in Git, and a tool inside your cluster makes sure the cluster always matches that state. So, if you want to change something, you open a pull request, and once it's merged, the change rolls out automatically.
The two most popular tools for doing this are Flux and Argo CD. Both are mature, free, and open source, which makes the choice harder, not easier.
In this article, we walk through how each tool works, what they do well, where they fall short, and how to decide which one fits your team better.
What is GitOps?
Without GitOps, you usually deploy to Kubernetes by running kubectl apply or helm install from your laptop or from a CI pipeline. This will work, but it has a few problems:
- You lose track of what is running: Someone runs a quick command to fix an issue, and now the cluster is different from what is in Git
- Your CI system needs cluster credentials: If your pipeline can push to production, anyone who breaks into your pipeline can too
- Rollbacks are messy: You have to remember what the previous state looked like and redeploy it by hand
GitOps fixes this: instead of pushing changes into the cluster, an agent inside the cluster pulls changes from Git, compares them with what is running, and fixes any differences.
This means that Git becomes your single source of truth. If you want to roll back, you revert a commit. Both Flux and Argo CD follow this model; the difference is in how they do it.
What is Argo CD?
Argo CD is a declarative GitOps continuous delivery tool for Kubernetes and part of the Argo project.
Once you install it, you get a dashboard that shows every application, its sync and health status, and a visual tree of the Kubernetes resources it created. For many teams, this UI is the main reason they pick Argo CD. If you want a hands-on walkthrough, check out our Argo CD tutorial.
How does Argo CD work?
Argo CD is built around a custom resource called an Application. An Application tells Argo CD three things: where your manifests live (a Git repo, a Helm chart, or an OCI registry), which path or chart to use, and which cluster and namespace to deploy to.
Let's see what a basic Argo CD Application looks like:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: guestbook
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/argoproj/argocd-example-apps.git
targetRevision: HEAD
path: guestbook
destination:
server: https://kubernetes.default.svc
namespace: guestbook
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
The automated block tells Argo CD to sync changes on its own. The prune option removes resources you deleted from Git, and selfHeal reverts any manual changes someone makes directly in the cluster.
To install Argo CD, you can run:
kubectl create namespace argocd
kubectl apply -n argocd --server-side --force-conflicts \
-f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
What are the key features of Argo CD?
- Built-in web UI: You can see the health of every application, compare Git with the live state, and trigger syncs with a click
- Multi-cluster from one place: A single Argo CD installation can deploy to many clusters. Register each cluster once, and manage everything from one dashboard
- ApplicationSets: You can generate many Applications from a single template. This is particularly useful when you want to deploy the same app to 50 clusters or create one app per folder in a repo
- Projects, SSO, and RBAC: Argo CD has its own permission system, so you can control which teams can deploy what, and where. It connects to identity providers like Okta, Keycloak, or GitHub
- Sync waves and hooks: You can control the order in which resources are applied and run jobs before or after a sync
Where does Argo CD fall short?
The biggest downside to Argo CD is that it is a bigger system to run: an API server, a repo server, an application controller, Redis, and optionally Dex for SSO. When one central Argo CD manages many clusters, all of your deployments depend on it. In addition, you need to learn and maintain its own RBAC model.
What is Flux?
Flux is a set of continuous delivery tools for Kubernetes that keeps your clusters in sync with sources like Git repositories, Helm repositories, and OCI registries. It is maintained by the CNCF community.
Flux takes a different approach than Argo CD. Instead of one big application, Flux is a group of small controllers, called the GitOps Toolkit. Each controller has a single job:
- source-controller: Fetches your manifests from Git, Helm repositories, OCI registries, or S3 buckets
- kustomize-controller: Applies plain YAML and Kustomize overlays to your cluster
- helm-controller: Installs and upgrades Helm releases
- notification-controller: Sends alerts to Slack, Teams, and other tools, and receives webhooks from Git providers
- image-reflector-controller and image-automation-controller: Watch your container registry and update image tags in Git when a new version is pushed
How does Flux work?
In Flux, you first define a source, then define what to apply from that source. Here is what a basic Flux setup looks like:
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: podinfo
namespace: flux-system
spec:
interval: 1m
url: https://github.com/stefanprodan/podinfo
ref:
branch: master
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: podinfo
namespace: flux-system
spec:
interval: 10m
targetNamespace: default
sourceRef:
kind: GitRepository
name: podinfo
path: "./kustomize"
prune: true
The GitRepository tells Flux to check the repo every minute. The Kustomization tells Flux to take the ./kustomize folder from that repo and apply it to the default namespace. With prune: true, anything you delete from Git is also deleted from the cluster.
The Flux Kustomization resource is a Flux object, and it is different from the kustomization.yaml file used by the Kustomize tool, even though the names are similar.
To install Flux, you first need to install the Flux CLI and then run:
flux check --pre
flux install
For a real project, you will usually use flux bootstrap instead, which installs Flux and also commits the Flux configuration into a Git repository, so Flux manages itself through GitOps.
What are the key features of Flux?
- Kubernetes-native design: Everything is a custom resource, and Flux uses standard Kubernetes RBAC. If you already know Kubernetes, you know how to secure Flux
- Strong Helm support: The helm-controller handles installs, upgrades, tests, and rollbacks. Flux 2.8 added support for Helm v4
- Image update automation: Flux can watch your registry and commit new image tags back to Git, which is useful for fully automated pipelines
- Secrets decryption: Flux can decrypt secrets encrypted with SOPS while applying them, so you can safely store encrypted secrets in Git
- OCI artifacts: You can store your manifests as OCI artifacts in a container registry instead of Git
- Active development: Flux 2.10, released in October 2026, added SPIFFE workload identity, so Flux can use short-lived credentials when talking to registries and secret stores
Where does Flux fall short?
The biggest downside to Flux is that its core project does not ship with a web UI. You work with it through the flux CLI and kubectl. The Flux Operator now includes a web UI, and there are terminal UIs like flux9s, but if your developers expect a dashboard on day one, you will need to add one. In addition to that, because Flux runs inside each cluster, you do not get a single central view of all your clusters by default.
Flux vs Argo CD: How do they compare?
Let's compare Flux and Argo CD across the areas that matter most in day-to-day work:
- CNCF status: Both Argo CD and Flux are graduated
- Architecture: Argo CD is one application with several components, while Flux is a set of small, independent controllers
- Web UI: Argo CD has one built in; Flux doesn't have one in core, but you can get one through the Flux Operator and third-party tools
- Multi-cluster model: Argo CD usually runs as one central instance managing many clusters, while Flux usually runs one instance per cluster
- Access control: Argo CD has its own RBAC, Projects, and SSO on top of Kubernetes RBAC, while Flux uses standard Kubernetes RBAC
- Helm: Argo CD renders charts and applies them as manifests, while Flux uses native Helm releases through the helm-controller
- Image automation: Argo CD needs the separate Argo CD Image Updater project, while Flux has built-in image automation controllers
- Learning curve: Argo CD is easier to start with thanks to the UI, while Flux is easier if you are comfortable with
kubectland YAML
Architecture and scale
With Argo CD, you often run one central instance that talks to many clusters. You get one place to look, but that instance needs network access and credentials for every cluster.
With Flux, each cluster pulls its own configuration, so no central server needs access to everything. This is important because it reduces the blast radius if something goes wrong.
User experience
If your team includes developers who aren't comfortable working in the terminal, Argo CD's UI can make a big difference. On the other hand, if your team is mostly platform engineers who prefer CLI tools and code, Flux will feel natural.
Helm handling
Argo CD renders Helm charts into plain manifests and applies them, which means that helm list won't show your releases because Argo CD is not creating real Helm releases.
Flux uses the Helm SDK to create real Helm releases. You can use helm list and helm history as you normally would. This matters if your team relies on Helm features like hooks and release history.
How to choose between Flux and Argo CD?
When choosing between Flux and Argo CD, there is no single right answer, but a few simple questions can guide your decision.
Choose Argo CD if:
- You want a strong web UI from day one
- You want to manage many clusters from one central place
- Your developers need self-service visibility into their deployments
- You need fine-grained access control for many teams through SSO
Choose Flux if:
- You want a lightweight, modular setup that runs inside each cluster
- You prefer to use standard Kubernetes RBAC instead of learning another permission model
- You rely heavily on Helm and want real Helm releases
- You want built-in image automation that updates Git for you
Also, you do not have to pick one forever. Some companies use Flux to manage cluster-level components (like ingress controllers and cert-manager) and Argo CD to give application teams a UI for their apps. This adds complexity, so only do it if you have a clear reason.
How to manage Flux and Argo CD with Lens Kubernetes IDE?
Whichever tool you use, you will face moments where something doesn't sync or an application shows as degraded. In those moments, you need to see the GitOps status and the actual Kubernetes resources at the same time. Lens Kubernetes IDE supports both Flux and Argo CD, letting you see both side by side.
Flux in Lens: When Lens detects the Flux CRDs in your cluster, it adds a dedicated Flux entry to the cluster navigator. You get a dashboard with reconciliation status, list and detail views for every Flux resource kind, and a reconciliation status column on your workloads.
Argo CD in Lens: Lens adds an Argo CD entry with a dashboard that shows how many Applications are synced, healthy, out of sync, or degraded. You can sync and refresh Applications directly from Lens, and use Ask AI to summarize an Application, ApplicationSet, or Project in plain language.
Flux and Argo CD support in Lens are premium features, available on Plus, Pro, and Enterprise plans.
Key takeaways
Flux and Argo CD solve the same problem: they keep your Kubernetes clusters in sync with Git. Argo CD does it with a central, UI-first approach that is easy to start with and great for teams that want visibility. Flux does it with small, Kubernetes-native controllers that run in each cluster and shine in automation-heavy environments.
The best way to decide is to try both on a test cluster. Deploy the same app with each tool, break something on purpose, and see which workflow feels better for your team. Whichever one you choose, Lens Kubernetes IDE helps you see what it is doing, right next to the resources it manages.
FAQ
Is Flux better than Argo CD?
Neither tool is better in every case. Argo CD is the better fit if you want a web UI and one central place to manage many clusters, while Flux is the better fit if you want lightweight, Kubernetes-native controllers in each cluster, real Helm releases, and built-in image automation.
Does Flux have a web UI?
The core Flux project doesn't ship with a web UI; you work with it through the flux CLI and kubectl. The Flux Operator now includes a web UI, and there are terminal UIs like flux9s. Lens Kubernetes IDE also gives you a Flux dashboard with reconciliation status for every Flux resource.
Can you use Flux and Argo CD together?
Yes. A common setup is to use Flux for cluster-level components like ingress controllers and cert-manager, and Argo CD to give application teams a UI for their apps. Running both adds complexity, so only do it if you have a clear reason.
How does Lens Kubernetes IDE help with Flux and Argo CD?
Lens Kubernetes IDE automatically detects the Flux and Argo CD CRDs in your cluster and adds a dedicated entry for each in the cluster navigator. For Flux, you get reconciliation status across every Flux resource and on your workloads. For Argo CD, you get a dashboard of synced, healthy, out-of-sync, and degraded Applications, with sync and refresh actions and Ask AI summaries.