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

Repo-server pods fail renders with `write /tmp/...: no space left on device`.

IntermediateTroubleshootingSecrets, Controller Performance & Recovery
Answer

Likely causes → Large monorepos and Helm chart caches fill the repo-server's ephemeral storage, especially with many revisions checked out in parallel.

Diagnose → kubectl -n argocd exec deploy/argocd-repo-server -- df -h /tmp; check pod events for ephemeral storage eviction.

Fix → Mount a larger emptyDir (with sizeLimit) or a dedicated volume on /tmp; scale out repo-server so each pod handles fewer repos; restart the pod to clear stale checkouts.

Prevent → Split huge monorepos, and use argocd.argoproj.io/manifest-generate-paths so changes in unrelated paths do not trigger renders.

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

More on Secrets, Controller Performance & Recovery