Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions CI-CD/Argo.md
Original file line number Diff line number Diff line change
@@ -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
```
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down