vishal patel
UnderstoodIntermediateUpdated 2026-09-23

CI/CD & GitOps

From commit to Kubernetes — build once, promote the same artefact, and let Git be the source of truth for what's running (ArgoCD).

argocdhelmgocdkubernetesdeployment

A real-world GitOps pipeline

diagram

This is the shape of the pipeline I worked alongside: GoCD → image in ECR/ACR/GAR → Helm chart → release repo → ArgoCD → EKS.

Principles

  • Build once, deploy many. The same image digest goes to dev, staging and prod; only config differs.
  • Git is the desired state. Nobody runs kubectl apply by hand in prod.
  • Pull-based deploys: ArgoCD pulls from Git, so CI never holds cluster credentials.
  • Rollback = git revert. Every change is audited.
  • Progressive delivery: canary or blue-green using Argo Rollouts or Istio weights.

CI stages worth having

Unit tests → lint/type-check → SCA and container scan → build image → integration and contract tests → push → update the env repo → smoke tests after sync.

Cheatsheet

The whole topic on one page. Click to open full screen.

Sources & further learning

Videos, courses, docs and books I recommend for this topic.

Related topics