argocd
1
总安装量
1
周安装量
#51001
全站排名
安装命令
npx skills add https://github.com/g1joshi/agent-skills --skill argocd
Agent 安装分布
mcpjam
1
claude-code
1
replit
1
junie
1
zencoder
1
Skill 文档
ArgoCD
ArgoCD is the industry standard for GitOps. It syncs the state of a Kubernetes cluster with a Git repository. 2025 features: ApplicationSets for multi-tenant management.
When to Use
- Kubernetes CD: Continuous Delivery specifically for K8s.
- GitOps: You want your cluster state (YAML) versioned in Git.
- Drift Detection: ArgoCD alerts you if someone manually hacks
kubectl editin production.
Quick Start
# Application.yaml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: guestbook
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/argoproj/argocd-example-apps.git
targetRevision: HEAD
path: guestbook
destination:
server: https://kubernetes.default.svc
namespace: guestbook
Core Concepts
Application
The link between a Git source and a K8s destination.
ApplicationSet
A generator that spawns multiple Application resources. Example: “Deploy every folder in this repo as an app” or “Deploy this app to every cluster”.
Sync Phases
Pre-Sync (Schema migration), Sync (Deployment), Post-Sync (Health check).
Best Practices (2025)
Do:
- Use ApplicationSets: The modern way to manage many apps.
- Separate Config from Code: Keep app source code and K8s manifests in separate repos or at least separate folders.
- Use “App of Apps”: A bootstrap pattern where one root Argo app deploys all other apps.
Don’t:
- Don’t manage Secrets in plain Git: Use Sealed Secrets, External Secrets Operator, or ArgoCD Vault Plugin.