GB Gabriel Butoeru
← All articles
DevOps 24/06/2026 · 1 min read · butoerugabriel

GitOps with ArgoCD: Declarative Continuous Delivery for Kubernetes

Introduction

Traditional continuous delivery pipelines operate on a “push-based” deployment pattern. GitOps solves this problem by shifting to a “pull-based” paradigm, and ArgoCD is the leading tool for implementing it on Kubernetes. A Kubernetes controller inside the cluster pulls configuration changes securely via read-only access to Git.

ArgoCD Application Definition

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: production-frontend
  namespace: argocd
spec:
  project: default
  source:
    repoURL: 'https://github.com/my-user/gitops-infra.git'
    targetRevision: HEAD
    path: apps/frontend/production
  destination:
    server: 'https://kubernetes.default.svc'
    namespace: billing-production
  syncPolicy:
    automated:
      prune: true
      selfHeal: true