argocd

ArgoCD GitOps continuous delivery for Kubernetes. Use when creating or debugging ArgoCD Application/ApplicationSet manifests, configuring sync policies, troubleshooting OutOfSync or degraded states, or integrating Helm/Kustomize sources.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "argocd" with this command: npx skills add kontrolplane/skills/kontrolplane-skills-argocd

ArgoCD

Critical Gotchas

Sync Behavior

  • selfHeal: true reverts manual cluster changes every 3 minutes (default)
  • prune: true deletes resources removed from Git—enable only when certain
  • replace: true in syncOptions does full replacement instead of patch (destructive)
  • ServerSideApply=true required for CRDs with large specs to avoid annotation size limits

Application Targeting

  • destination.server must match exactly what's registered in ArgoCD (check argocd cluster list)
  • Use https://kubernetes.default.svc for in-cluster, not kubernetes.default
  • destination.namespace doesn't auto-create unless CreateNamespace=true in syncOptions

Health Assessment

  • ArgoCD has built-in health checks for standard resources
  • Custom resources show "Progressing" indefinitely without custom health check in argocd-cm
  • Ingress health requires actual endpoint check, not just resource existence

Non-Obvious Patterns

Sync Waves

metadata:
  annotations:
    argocd.argoproj.io/sync-wave: "-1"  # Negative = earlier
  • Waves are strings sorted numerically ("-1" < "0" < "1")
  • Resources in same wave sync in parallel
  • Use for: namespaces → secrets → deployments → ingress

ApplicationSet Generator Precedence

generators:
  - matrix:
      generators:
        - clusters: {}        # Outer loop
        - list:               # Inner loop
            elements: [{env: prod}, {env: staging}]
  • Matrix multiplies generators (clusters × environments)
  • Merge combines generators with override precedence (later wins)

Helm Value Precedence

values (inline) < valueFiles (in order) < parameters (highest priority)

Troubleshooting

SymptomLikely Cause
OutOfSync but no diffIgnored differences, resource hooks, or server-side defaulting
Sync succeeds but unhealthyMissing health check, resource not ready, CRD issue
"already exists" errorResource managed by another Application or created manually
Stuck "Progressing"No health check for CRD, or resource genuinely not ready
argocd app get <app> --hard-refresh  # Force manifest re-read
argocd app diff <app> --local <path>  # Compare local to live

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

kyverno

No summary provided by upstream source.

Repository SourceNeeds Review
General

prometheus

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

AGENT-OS

The operating system layer for AI agents. Routes goals to the right skills. Executes with checkpoints.

Registry SourceRecently Updated
1551Profile unavailable
Automation

Agent Network

Decentralized AI agent platform for discovering, connecting, chatting, trading skills with point-based system and leaderboard, featuring P2P networking and d...

Registry SourceRecently Updated
3650Profile unavailable