Interview Prep/GitOps & Argo CD/Secrets, Controller Performance & Recovery

The UI and CLI are slow and logs show `Failed to get cached app state: dial tcp 10.96.40.2:6379: connect: connection refused`.

IntermediateTroubleshootingSecrets, Controller Performance & Recovery
Answer

Likely causes → Redis is down or restarting (OOM, node eviction), or in HA mode the HAProxy in front of Redis cannot reach a master.

Diagnose →

kubectl -n argocd get pods -l app.kubernetes.io/name=argocd-redis
kubectl -n argocd logs deploy/argocd-redis --previous

Fix → Restore Redis; Argo CD recomputes everything because Redis is only a cache, so expect a temporary CPU spike. Raise its memory limit if OOM.

Prevent → Run the HA install (redis-ha) in production and alert on Redis availability.

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

More on Secrets, Controller Performance & Recovery