Command Palette

Search for a command to run...

Назад к скиллам
скилл № 54688

argo-cd

Use when the user asks about Argo CD, syncing cluster state from git with Argo CD, Application or AppProject CRDs, sync policy, sync waves, the argocd CLI…

БесплатноБез исполняемых скриптов
j4flmaoот j4flmao★ 47 звёзд на GitHub

Установить argo-cd в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Argo CD

Purpose

Implement GitOps workflows using Argo CD for Kubernetes deployments with sync strategies, application sets, multi-cluster management, and security best practices.

Agent Protocol

Trigger

Exact user phrases: "ArgoCD", "Argo CD", "GitOps", "ApplicationSet", "Sync Policy", "Sync Wave", "argocd CLI", "Declarative GitOps", "Progressive Delivery", "Rollback".

Input Context

Before activating, verify:

  • Argo CD version (ApplicationSet controller is bundled since 2.3; current releases are the 3.x line, which changed defaults such as annotation-based resource tracking).
  • Number of clusters (single vs multi-cluster management).
  • Git provider (GitHub, GitLab, Bitbucket — affects webhook config).
  • Authentication method (local admin, SSO with OIDC, Dex).
  • Environment structure (dev/staging/prod per cluster or namespace).
  • Monitoring tools (Prometheus operator for Argo CD metrics).

Output Artifact

Writes to Argo CD Application YAML, ApplicationSet YAML, Argo CD project config, RBAC config, and notification templates.

Response Format

YAML for Application, ApplicationSet, Project, and RBAC resources. CLI commands for setup and operations.

No preamble. No postamble. No explanations. No filler/hedging/transitions.

Completion Criteria

  • Application(s) defined and synced to target cluster.
  • Sync policy configured (manual/automated with prune).
  • Health checks and resource customization configured.
  • RBAC roles assigned for team access.
  • Notifications configured for sync events.
  • Rollback procedure documented.

Max Response Length

Direct file write. No response text.

Architecture Decision Trees

Application Structure: Single App vs ApplicationSet vs Multi-Source

Pattern Use Case Complexity
Single Application One service, one environment Low
ApplicationSet (list generator) Same app across multiple clusters Medium
ApplicationSet (git generator) One app per directory in repo Medium
ApplicationSet (SCM generator) One app per GitHub repo in org High
Multi-source Application App config + overlay config separately Medium
App of Apps pattern Deploying multiple related applications High

Sync Strategy: Automated vs Manual vs Phased

Strategy When to Use Risk Level
Automated (Auto-Sync) Dev/staging, non-critical services Low (fast)
Automated with Self-Heal All environments (recovers drift) Low
Manual Sync Production, strict change control High (controlled)
Phased (Sync Waves) Stateful apps, DB migrations Medium
Blue-Green via Argo Rollouts Zero-downtime production deploys Medium (complex)

Generator Selection for ApplicationSets

Generator Best For Example
List Simple list of clusters/values Dev, staging, prod clusters
Git One directory per environment apps/prod/, apps/staging/
Cluster All registered clusters Deploy to every cluster
SCM (GitHub) All repos in an org One Application per microservice
Pull Request Preview environments per PR Ephemeral review apps
Matrix Combining multiple generators Cluster × Environment

Authentication Method

Method Pros Cons
Local admin Simple, no dependencies No MFA, shared credentials
OIDC (Google, Okta, Azure AD) SSO, MFA, group sync OIDC provider required
Dex Multi-provider, LDAP Additional component to manage
GitHub OAuth Simple for small teams Only GitHub users

Quick Start

Install Argo CD → Register target cluster → Define Application YAML → Sync → Configure RBAC → Set up webhook → Add notifications.

Core Workflow

Step 1: Argo CD Installation

# install/argocd-install.yaml
apiVersion: v1
kind: Namespace
metadata:
  name: argocd
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: argocd-cm
  namespace: argocd
data:
  # SSO configuration (OIDC example)
  url: https://argocd.example.com
  oidc.config: |
    name: Okta
    issuer: https://dev-123456.okta.com
    clientID: $ARGOCD_OIDC_CLIENT_ID
    clientSecret: $ARGOCD_OIDC_CLIENT_SECRET
    requestedScopes: ["openid", "profile", "email", "groups"]
    requestedIDTokenClaims: {"groups": {"essential": true}}
  # Repository configuration
  repositories: |
    - url: https://github.com/myorg/gitops-config
      passwordSecret:
        name: github-token
        key: token
  # Resource customization
  resource.customizations: |
    admissionregistration.k8s.io/MutatingWebhookConfiguration:
      health.lua: |
        hs = {}
        hs.status = "Healthy"
        return hs
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: argocd-rbac-cm
  namespace: argocd
data:
  policy.default: role:readonly
  policy.csv: |
    p, role:org-admin, applications, *, */*, allow
    p, role:team-lead, applications, sync, */*, allow
    p, role:team-lead, applications, get, */*, allow
    p, role:tea
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/architecture-sync.md
  • references/argo-cd-advanced.md
  • references/argo-cd-application-sets.md
  • references/argo-cd-fundamentals.md
  • references/argo-cd-sync-strategies.md
  • references/argocd-advanced.md
  • references/argocd-operations.md
  • references/argocd-patterns.md
  • references/argocd-setup.md
  • references/merged-gitops-argocd.md

FAQ

Что делает скилл argo-cd?

Use when the user asks about Argo CD, syncing cluster state from git with Argo CD, Application or AppProject CRDs, sync policy, sync waves, the argocd CLI, Argo CD RBAC and SSO, or multi-cluster Argo CD. Produces Argo CD manifests, sync settings and access controls. Not for Flux or GitOps repo strategy (use gitops) or ApplicationSets at scale (use devops-gitops-advanced).

Как установить скилл argo-cd?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл argo-cd запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить argo-cd с