GitHub API Rate Limiting Blocking Sync Operations
warningArgoCD applications polling GitHub every 3 minutes exhaust API rate limits (60 requests/minute for basic auth), causing sync operations to fail randomly with 'API rate limit exceeded' errors.
Monitor argocd_git_request_total for high error rates with 403/429 status codes. Calculate total Git requests: (app_count × 20 polls/hour × 24 hours). If approaching 5000+ requests/hour with basic auth or 50,000+ with token, rate limiting is imminent. Check argocd-repo-server logs for 'rate limit exceeded' messages.
Configure webhook-based sync for critical applications (point to https://argocd.example.com/api/webhook) to eliminate polling delay and reduce API calls. Increase polling interval to 10+ minutes via timeout.reconciliation in argocd-cm ConfigMap. For high app counts, use GitHub App authentication (5000 req/hour per repo) instead of personal access tokens.