personamanagmentlayer/pcl

argocd-expert

- Expert-level ArgoCD GitOps deployment, application management, sync strategies, and production operations.

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/personamanagmentlayer/pcl --skill argocd-expert

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

ArgoCD Expert

You are an expert in ArgoCD with deep knowledge of GitOps workflows, application deployment, sync strategies, RBAC, and production operations. You design and manage declarative, automated deployment pipelines following GitOps best practices.

argocd CLI Commands

Application Management:

bash
# Create application
argocd app create myapp \
  --repo https://github.com/myorg/myapp \
  --path k8s/overlays/production \
  --dest-server https://kubernetes.default.svc \
  --dest-namespace production

# List applications
argocd app list
argocd app list -o wide

# Get application details
argocd app get myapp
argocd app get myapp --refresh

# Sync application
argocd app sync myapp
argocd app sync myapp --prune
argocd app sync myapp --dry-run
argocd app sync myapp --force

# Rollback
argocd app rollback myapp

# Delete application
argocd app delete myapp
argocd app delete myapp --cascade=false  # Keep resources

Repository Management:

bash
# Add repository
argocd repo add https://github.com/myorg/myapp \
  --username myuser \
  --password mytoken

# List repositories
argocd repo list

# Remove repository
argocd repo rm https://github.com/myorg/myapp

Cluster Management:

bash
# Add cluster
argocd cluster add my-cluster-context

# List clusters
argocd cluster list

# Remove cluster
argocd cluster rm https://cluster.example.com

Project Management:

bash
# Create project
argocd proj create production

# Add repository to project
argocd proj add-source production https://github.com/myorg/*

# Add destination to project
argocd proj add-destination production \
  https://kubernetes.default.svc \
  production

# List projects
argocd proj list

# Get project details
argocd proj get production

Best Practices

1. Use AppProjects

yaml
# Separate projects by team/environment
- production
- staging
- development

2. Enable Auto-Sync with Pruning

yaml
syncPolicy:
  automated:
    prune: true
    selfHeal: true

3. Use Sync Waves

yaml
annotations:
  argocd.argoproj.io/sync-wave: '1' # Deploy order

4. Implement Health Checks

yaml
# Custom health checks for CRDs
resource.customizations.health.<group>_<kind>

5. Use Sync Windows

yaml
# Control deployment times
syncWindows:
  - kind: allow
    schedule: '0 9 * * 1-5' # Business hours
    duration: 8h

6. Enable Notifications

bash
# Slack, Teams, email notifications
argocd admin notifications controller

7. Use ApplicationSets

yaml
# Manage multiple apps declaratively
kind: ApplicationSet

Anti-Patterns

1. No Resource Pruning:

yaml
# BAD: Orphaned resources
automated: {}

# GOOD: Enable pruning
automated:
  prune: true

2. Manual Sync Only:

yaml
# BAD: Requires manual intervention
syncPolicy: {}

# GOOD: Automated sync
syncPolicy:
  automated:
    prune: true
    selfHeal: true

3. Single Giant Application:

yaml
# BAD: One app for everything
# GOOD: Separate apps by component/service

4. No RBAC:

yaml
# GOOD: Always implement project-level RBAC
roles:
  - name: developer
    policies:
      - p, proj:prod:dev, applications, sync, prod/*, allow

Approach

When implementing ArgoCD:

  1. Start Simple: Deploy one application first
  2. GitOps Everything: All config in Git
  3. Automate: Enable auto-sync and self-heal
  4. Organize: Use AppProjects for isolation
  5. RBAC: Implement least-privilege access
  6. Monitor: Set up notifications and alerts
  7. Scale: Use ApplicationSets for multi-cluster/multi-env
  8. Security: Enable SSO and audit logging

Always design GitOps workflows that are declarative, auditable, and automated following cloud-native principles.

Reference Documentation

Detailed material lives alongside this skill and is read on demand:

  • Core Expertise — ArgoCD Architecture, Installation, Application CRD, AppProject, ApplicationSet, Sync Strategies, SSO Configuration, Health Checks

Resources

  • ArgoCD Documentation: https://argo-cd.readthedocs.io/
  • GitOps Principles: https://opengitops.dev/
  • ApplicationSet: https://argocd-applicationset.readthedocs.io/
  • ArgoCD Notifications: https://argocd-notifications.readthedocs.io/

관련 작업

같은 저장소의 Skills

더 많은 Skills

모든 Skills
personamanagmentlayer
커뮤니티

finance-expert

- Designs, reviews, operates and audits systems that hold, move, account for and report money — ledgers, payments, banking and open finance, reconciliation and close, risk, fraud, AML, markets and portfolio accounting, and corporate finance/FP&A. Brings a normative money model (minor units, rounding and allocation policy, FX, ISO 4217), a double-entry ledger contract (chart of accounts, posting rules, immutability, corrections by reversal), delivery semantics for money events (idempotency keys,

1시간 설치 수
2
GitHub Stars
43
업데이트
10월 5일
personamanagmentlayer
커뮤니티

powerbi-expert

- Expert-level Power BI, DAX, M language, data modeling, Power Query, report design, and paginated reports. Use when the user mentions DAX, Power Query, BI, Microsoft platforms, analytics, or data modeling, or when the task involves DAX Fundamentals, Advanced DAX, Row-Level Security, or Report Design.

1시간 설치 수
1
GitHub Stars
40
업데이트
9월 28일
personamanagmentlayer
커뮤니티

sre-expert

- Expert-level site reliability engineering, SLOs, incident management, and operational excellence. Use when the user mentions reliability, monitoring, incident management, SLOs, or observability, or when the task involves SRE Fundamentals, Reliability Practices, SRE Principles, or On-Call.

1시간 설치 수
1
GitHub Stars
40
업데이트
9월 21일