ArgoCD is a declarative, GitOps continuous delivery tool for Kubernetes. It automates application deployment by synchronizing desired state from Git repositories with the live cluster state.
📑 Table of Contents
Key Features
- GitOps: Git as single source of truth
- Auto Sync: Automatic deployment on changes
- Multi-Cluster: Manage multiple clusters
- RBAC: Fine-grained access control
- Web UI: Visual application management
Installation
Install ArgoCD on Kubernetes:
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
# Access UI
kubectl port-forward svc/argocd-server -n argocd 8080:443
Usage Examples
ArgoCD CLI operations:
# Login
argocd login localhost:8080
# Create application
argocd app create myapp \
--repo https://github.com/org/repo.git \
--path kubernetes \
--dest-server https://kubernetes.default.svc \
--dest-namespace default
# Sync application
argocd app sync myapp
# Check status
argocd app get myapp
Benefits
ArgoCD brings GitOps best practices to Kubernetes. Its declarative approach ensures consistency while the web UI provides visibility into deployment status.
Was this article helpful?