Interview Prep/GitOps & Argo CD/Repos, Clusters, Projects & Permissions

Argo CD stops refreshing many apps, and repo-server logs show `remote: Repository not found` or `429 Too Many Requests` from GitHub during busy hours.

AdvancedTroubleshootingRepos, Clusters, Projects & Permissions
Answer

Likely causes → Hundreds of apps poll the same repos every 3 minutes with one token, hitting GitHub rate limits; GitHub returns misleading "not found" when a token is throttled or lacks access.

Diagnose → Count git ls-remote calls in repo-server logs; check the rate limit for the token: curl -H "Authorization: Bearer $TOKEN" https://api.github.com/rate_limit.

Fix → Configure webhooks and raise timeout.reconciliation (for example 600s) in argocd-cm; switch to a GitHub App credential (higher limits); consolidate apps on fewer repos.

Prevent → Webhook-driven refresh plus jittered polling (timeout.reconciliation.jitter) as the fallback.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Repos, Clusters, Projects & Permissions