Interview Prep/GitOps & Argo CD/Operations, Scale, Upgrades & DR

The repo-server pods restart frequently with OOMKilled during busy periods. How do you fix it?

IntermediateScenarioOperations, Scale, Upgrades & DR
Answer

Situation read → Concurrent heavy renders (Helm dependencies, big Kustomize trees).

What I'd do →

  1. Raise memory limits and add replicas.
  2. Set reposerver.parallelism.limit (for example 10) to cap concurrent renders per pod.
  3. Use webhooks plus manifest-generate-paths to reduce unnecessary renders.
  4. Vendor Helm dependencies in Git to avoid repeated helm dependency build, and check for huge repos.

Why → Each render can use hundreds of MB; unlimited parallelism multiplies it.

Interview tip → Mention that OOM in the repo-server shows up as ComparisonError with connection refused or Unavailable on apps.

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

More on Operations, Scale, Upgrades & DR