Skip to main content

Auto-Discovery

When ENABLE_ARGOCD_DISCOVERY=true (default), the agent automatically finds ArgoCD server instances in your cluster by scanning for services with ArgoCD labels. No manual configuration needed. The agent:
  1. Detects argocd-server services across all namespaces
  2. Obtains an API token from the initial admin secret
  3. Registers the instance with the ChangeGuard backend
  4. Re-checks every 5 minutes for new instances

ArgoCD Fleet View

The dashboard shows all ArgoCD instances across all your clusters:
  • Application health — Healthy, Degraded, Progressing, Missing
  • Sync status — Synced, OutOfSync
  • Drift detection — tracks configuration drift count
  • Controller health — ArgoCD controller component status per instance

Cross-Cluster Correlation

ChangeGuard correlates ArgoCD data across clusters to detect fleet-wide issues:
  • Same image failing across multiple clusters
  • Sync failures spreading across the fleet
  • Degraded applications correlated with recent deployments

Manual Registration

If auto-discovery doesn’t find your ArgoCD instance (e.g., non-standard naming), register it manually via the API:
curl -X POST https://api.changeguard.ai/api/argo/discover \
  -H "X-API-Key: YOUR_KEY" \
  -H "X-Cluster-Id: my-cluster" \
  -H "Content-Type: application/json" \
  -d '{"name": "prod-argocd", "url": "https://argocd.internal:443", "token": "ARGOCD_TOKEN"}'