loading

BLOG DETAILS

GitOps with ArgoCD on Amazon EKS: A Practical Walkthrough

GitOps brings the discipline of version control to operations: the desired state of your cluster lives in Git, and a controller continuously makes reality match it. Here is how I run it on Amazon EKS with ArgoCD.

Why GitOps?

Why GitOps?

Instead of pushing changes with kubectl, you commit manifests to Git. ArgoCD watches the repo and reconciles the cluster — every change is reviewable, auditable and revertible. Drift is detected and healed automatically.

Bootstrapping ArgoCD on EKS

Provision the cluster with Terraform, then install ArgoCD and point it at your config repo. The app-of-apps pattern lets one root Application manage all the others.

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: root
spec:
  source:
    repoURL: https://github.com/you/gitops
    path: apps
  syncPolicy:
    automated: { prune: true, selfHeal: true }

Safe, progressive delivery

With automated sync, prune and self-heal, a bad change is one git revert away. Sync waves order your resources, and health checks gate promotion across environments.

Safe, progressive delivery

Key Takeaways

  • Git is the single source of truth — every cluster change flows through a reviewable pull request.
  • ArgoCD’s self-heal and auto-prune keep live state matching the repo, eliminating configuration drift.
  • The app-of-apps pattern scales one root Application to manage dozens of workloads cleanly.
  • Rollbacks are a single git revert — recovery is fast, auditable and stress-free.
  • Sync waves and health checks gate promotion safely across dev, staging and production.

Wrapping Up

GitOps turns deployments into pull requests — predictable, auditable and easy to roll back. On EKS with ArgoCD, shipping becomes boring in the best way.

3 Comments +12

Mohit Raimale
Mohit Raimale
14 Mar 2026

The app-of-apps section finally made this click for me. We were managing everything by hand — moving to ArgoCD next sprint.

Reply
Harsh Tiwari
Harsh Tiwari
15 Mar 2026

Self-heal saved us during an outage last month. Drift detection alone is worth the switch.

Reply
Anshika Pathak
Anshika Pathak
16 Mar 2026

Loved how you split Terraform for the cluster and ArgoCD for the apps. Clean separation of concerns.

Reply

Leave a Comment