From f92c73188cf45ef86e39b03a8d63df041c923586 Mon Sep 17 00:00:00 2001 From: Ritika Prasad Date: Thu, 11 Dec 2025 14:41:29 +0530 Subject: [PATCH 1/2] docs: add Argo CD entry with argo.md to CI-CD cheatsheet Signed-off-by: Ritika Prasad --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index adad2e8..b2b0177 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ Boost deployment speed with continuous integration & continuous deployment: 🚀 [GitHub Actions](./CI-CD/GitHub-Actions.md) 🚀 [GitLab CI](./CI-CD/GitLab-CI.md) 🚀 [CircleCI](./CI-CD/CircleCI.md) - +🚀 [Argo CD](./CI-CD/Argo.md) ### 🐳 **Containerization & Orchestration** Build, manage, and deploy containers effortlessly: From bda5304a06bb3c128ab1ae647ebcee58974ada37 Mon Sep 17 00:00:00 2001 From: Ritika Prasad Date: Thu, 11 Dec 2025 14:45:14 +0530 Subject: [PATCH 2/2] docs: add Argo CD entry with argo.md to CI-CD cheatsheet Signed-off-by: Ritika Prasad --- CI-CD/Argo.md | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 CI-CD/Argo.md diff --git a/CI-CD/Argo.md b/CI-CD/Argo.md new file mode 100644 index 0000000..48bc6ad --- /dev/null +++ b/CI-CD/Argo.md @@ -0,0 +1,53 @@ +# Argo Cheatsheet + +**1. Introduction:** + +- Argo CD is a declarative GitOps continuous delivery tool for Kubernetes. It automates application deployment and lifecycle management using Git as the source of truth. + +**2. Key Concepts:** + +- **Application:** Represents a deployed Kubernetes resource defined in Git. +- **Repository:** Git repository containing Kubernetes manifests or Helm charts. +- **Sync:** Process of applying Git state to the cluster. +- **Health Status:** Indicates if resources are healthy, degraded, or missing. + +**3. Basic `.argo/config.yml` Example:** + +- **YAML Syntax:** + + ```yaml + apiVersion: argoproj.io/v1alpha1 + kind: Application + metadata: + name: sample-app + namespace: argocd + spec: + project: default + + source: + repoURL: https://github.com/example/app-config.git + targetRevision: main + path: manifests + + destination: + server: https://kubernetes.default.svc + namespace: production + + syncPolicy: + automated: + prune: true + selfHeal: true + ``` + + +**4. Deployment Methods:** + +- **Manual Sync:** Click SYNC in UI or run: + argocd app sync sample-app +- **Automated Sync:** Enable in manifest: + ```yaml + syncPolicy: + automated: + prune: true + selfHeal: true + ```