ArgoCD is a declarative GitOps continuous delivery tool for Kubernetes. It watches your Git repos and automatically syncs your cluster state.
What You Get for Free
- GitOps workflow — Git is the single source of truth
- Auto-sync — detects drift and reconciles
- Web UI — visual app topology and sync status
- Multi-cluster — manage multiple K8s clusters
- SSO — OIDC, LDAP, SAML, GitHub, GitLab
- Rollback — one-click to any Git commit
- App of Apps — manage hundreds of apps declaratively
Install in 3 Commands
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
kubectl port-forward svc/argocd-server -n argocd 8080:443
Define an Application
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: my-app
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/you/manifests
targetRevision: HEAD
path: k8s
destination:
server: https://kubernetes.default.svc
namespace: production
syncPolicy:
automated:
prune: true
selfHeal: true
ArgoCD vs Flux
| Feature | ArgoCD | Flux |
|---|---|---|
| UI | Rich web UI | CLI-first |
| Multi-cluster | Built-in | Via remote clusters |
| RBAC | Fine-grained | Kubernetes RBAC |
Tips
- Enable auto-sync with self-heal for production
- Use ApplicationSets for multi-env deployments
- Set up notifications via Slack or Teams
Need Kubernetes deployment help? Check my work on GitHub or email spinov001@gmail.com for consulting.
Top comments (0)