Troubleshooting Tools
Argo CD providesargocd admin subcommands to validate settings and troubleshoot connectivity issues.
Settings Validation
Validate Argo CD configuration before applying to production:- ConfigMap settings (argocd-cm)
- RBAC policies (argocd-rbac-cm)
- Resource customizations
- Repository credentials
Common Issues
Application Sync Failures
Application stuck in 'OutOfSync' state
Application stuck in 'OutOfSync' state
- Invalid manifests in Git repository
- Resource quota exceeded in target cluster
- RBAC permissions preventing resource creation
- Cluster connectivity issues
Context deadline exceeded errors
Context deadline exceeded errors
Context deadline exceeded.Root cause: Manifest generation is taking too long, exceeding the controller timeout.Solutions:Increase repo server timeout
Scale repo server
Optimize repository
- Use shallow clones for large repositories
- Enable manifest path annotations for monorepos
- Reduce parallelism limit if resource-constrained
Sync operation permissions errors
Sync operation permissions errors
Git Repository Issues
Failed to fetch repository
Failed to fetch repository
- Invalid credentials
- Network connectivity issues
- SSH key not configured
- Certificate validation failures
Git ls-remote failures
Git ls-remote failures
Cluster Connectivity Issues
Cluster connection failed
Cluster connection failed
SSH into application controller
Export kubeconfig from cluster secret
Test connectivity
- Expired certificates
- Invalid bearer tokens
- Network policies blocking traffic
- API server URL changed
Resource Customization Issues
Test custom health checks
Test custom health checks
Test diff customizations
Test diff customizations
Test resource actions
Test resource actions
Performance Issues
Slow reconciliation times
Slow reconciliation times
Increase controller processors
Enable controller sharding
Optimize monorepo performance
High memory usage
High memory usage
- Too many cached resources
- Large repositories
- Too many applications per controller
Repository contention
Repository contention
argocd_repo_pending_request_total metric.Cause: Multiple applications in same repository causing sequential processing.Solutions:- Enable concurrent processing (create
.argocd-allow-concurrencyfile) - Scale repo server horizontally
- Split applications into separate repositories
- Use manifest path annotations
Application Health Issues
Application showing 'Unknown' health
Application showing 'Unknown' health
Application stuck in 'Progressing' state
Application stuck in 'Progressing' state
- Pods stuck in ImagePullBackOff
- Insufficient resources (CPU/memory)
- Failing health checks
- Init containers not completing
Debugging Commands
Log Collection
Resource Inspection
Configuration Verification
Getting Help
GitHub Issues
Slack Community
Documentation
Stack Overflow
argocd tag:
stackoverflow.com