GitOps with Argo CD: what it is and why DevOps listings ask for it
By the DevOpsAnywhere team · Published November 8, 2026
GitOps in one paragraph
GitOps is a way of deploying to Kubernetes where a Git repository holds the desired state of everything running in a cluster, and a controller inside the cluster continuously makes reality match it. Instead of a CI pipeline running kubectl apply or helm upgrade with cluster credentials, you change the repository through a pull request, and the controller pulls and applies the change. Git history becomes your deployment history, and a rollback is a revert.
How often it comes up
GitOps is now a common expectation in Kubernetes-heavy roles. On 8 November 2026, of the 267 remote DevOps listings on DevOpsAnywhere with a full description, 47 mentioned GitOps. Argo CD was named as a tool in 22 roles, and Flux was mentioned in 11 described listings, usually as an alternative ("Argo CD or Flux").
Argo CD roles are very consistent in what surrounds it: of the 22, 21 also named Kubernetes, 19 Terraform, 19 AWS and 14 Helm. The picture is clear: Terraform builds the cloud and the cluster; Argo CD deploys what runs inside it, usually packaged with Helm.
Why teams adopt it
The benefits are worth being able to explain in an interview:
- One source of truth. What is in Git is what runs. No guessing what someone applied by hand.
- Auditability. Every change has an author, a review and a timestamp.
- Easy rollback. Revert the commit; the controller restores the previous state.
- Drift detection. If someone changes the cluster manually, the controller notices, and can put it back.
- Better security. CI systems no longer need write access to production clusters; the controller pulls changes from inside.
- Self-service. Developers deploy by opening a pull request, without cluster access.
How Argo CD works
Argo CD runs in the cluster and watches Applications: each one points to a Git repository, a path or Helm chart, and a destination cluster and namespace. It compares the rendered manifests with what is running and shows the application as Synced or OutOfSync, and Healthy or degraded.
A minimal Application:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: payments
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/example/deploy-config.git
targetRevision: main
path: apps/payments/production
destination:
server: https://kubernetes.default.svc
namespace: payments
syncPolicy:
automated:
prune: true
selfHeal: true
With automated sync, changes merged to main are applied without anyone clicking; prune deletes resources removed from Git, and selfHeal undoes manual changes.
Features worth knowing:
- Projects to restrict which repositories and clusters a team may use.
- ApplicationSets to generate many Applications from a template, for example one per cluster or per environment.
- Sync waves and hooks to order deployments (database migrations before the application).
- The UI, which developers use to see what is deployed, and single sign-on with role-based access.
Argo Rollouts, a separate project, adds canary and blue-green deployments with automated analysis of metrics.
Flux: the other main option
Flux is the other CNCF GitOps project. It is more modular and command-line driven, with no built-in UI, and fits teams who prefer composing small controllers. The concepts are the same. If a listing names Flux, your Argo CD knowledge transfers, and vice versa; 6 of the 22 Argo CD listings mentioned Flux as well.
Structuring repositories
This is where real GitOps experience shows. Common decisions:
- Separate application code and deployment config. Usually a separate configuration repository, so a deployment change does not trigger a full application build, and access can differ.
- Environments as directories or overlays (
apps/payments/staging,apps/payments/production) using Kustomize overlays or Helm values files, rather than long-lived branches per environment. - Promotion. How a new version moves from staging to production: CI updates the image tag in the staging folder automatically; promotion to production is a pull request, reviewed and merged. Tools such as Argo CD Image Updater or Kargo can automate parts of this.
Secrets in a GitOps world
Plain secrets cannot go in Git. Common solutions:
- External Secrets Operator, which syncs secrets from a cloud secrets manager or Vault into Kubernetes;
- Sealed Secrets or SOPS, which store encrypted secrets in Git that only the cluster can decrypt.
Interviewers often ask which you have used and why.
Common GitOps pitfalls
Teams adopting GitOps often hit the same problems. Knowing them signals real experience:
- Too many repositories, or one giant one. Hundreds of tiny repositories are hard to manage; one huge repository makes access control and review painful. Group by team or domain.
- Long-lived branches per environment. Merging between
stagingandproductionbranches drifts and conflicts. Directories or overlays per environment, promoted by pull request, are easier to reason about. - Automated sync without guardrails. Automatic pruning can delete resources unexpectedly when a path changes. Use sync windows, projects and careful review for production.
- Manual changes during incidents. Self-heal reverts a hotfix made with
kubectl. Agree how emergency changes work: commit the fix, or pause sync deliberately and record it. - Hiding everything behind Helm values. Deeply nested values files can make it hard to see what will actually be deployed. Render and review the manifests in pull requests.
- Ignoring the bootstrap. Argo CD itself, and the cluster add-ons it depends on, also need to be managed as code, often with an "app of apps" pattern.
Interview questions to prepare for
- What happens when someone runs
kubectl editon a GitOps-managed deployment? - How do you promote a change from staging to production?
- How would you roll back a bad release, and how fast?
- How do you handle secrets and database migrations?
- When would you not use automated sync?
Getting hands-on
- Run a local cluster with kind or k3d and install Argo CD.
- Create a config repository with a small application in two environments using Kustomize overlays.
- Point Applications at each environment, enable automated sync, and change the image tag through a pull request.
- Make a manual change in the cluster and watch self-heal undo it.
- Add an ApplicationSet that generates both environments from one template.
For where GitOps sits in the delivery pipeline, see CI/CD for DevOps engineers. The roles below are open now and name Argo CD; each one shows where you can work from.