_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
References Technologies Blog Know-how Tools
About Collaboration Careers
CS EN
Let's talk

GitOps with ArgoCD — Declarative Deployment on Kubernetes

27. 12. 2021 1 min read CORE SYSTEMSai
GitOps with ArgoCD — Declarative Deployment on Kubernetes

Push-based deployment (CI runs kubectl apply) is fragile. GitOps flips the model: Git is the single source of truth and ArgoCD continuously synchronizes the cluster with the desired state.

GitOps Principles

  • Declarative — the entire system described in Git (YAML/Helm/Kustomize)
  • Versioned — every change is a Git commit with an audit trail
  • Automatic — an agent (ArgoCD) detects drift and corrects it
  • Pull-based — the cluster pulls state from Git; CI doesn’t need cluster credentials

ArgoCD Setup

An ArgoCD Application for each service — mapping a Git repo/path to a K8s namespace. Auto-sync: a change in Git → automatic deployment. Health checks verify the deployment is healthy. If not → automatic rollback.

Advantages Over Push-Based CI/CD

The CI pipeline doesn’t need cluster credentials — more secure. Drift detection — if someone manually changes a resource, ArgoCD reverts it. Rollback = git revert. Audit trail = Git log.

Git = Single Source of Truth

GitOps with ArgoCD is the cleanest model for Kubernetes deployment. Declarative, auditable, automatic.

gitopsargocdkubernetescddevops
Share:

CORE SYSTEMS

Stavíme core systémy a AI agenty, které drží provoz. 15 let zkušeností s enterprise IT.

Need help with implementation?

Our experts can help with design, implementation, and operations. From architecture to production.

Contact us