Your config repo has 400 Applications in one monorepo and every commit triggers a refresh of everything. What do you change?
AdvancedScenarioAdopting GitOps & Repo Design
Answer
Situation read → Monorepo refresh fan-out loads the repo-server and Git.
What I'd do →
- Configure the Git webhook so refreshes are event-driven, then raise
timeout.reconciliation(for example to 10 minutes). - Add
argocd.argoproj.io/manifest-generate-paths: .(or explicit paths) to each Application, so a webhook only refreshes apps whose paths changed. - Scale repo-server replicas and set
reposerver.parallelism.limit. - Consider splitting very busy areas (CI bot commits) into separate repos.
Why → Without path scoping, Argo CD cannot know a commit to apps/a does not affect apps/b, so it re-resolves everything.
Interview tip → Naming manifest-generate-paths shows real experience with large installs.
More on Adopting GitOps & Repo Design
Your team deploys with Jenkins running `kubectl apply` and wants to move to Argo CD without downtime. How do you migrate?IntermediateA startup with three services asks whether they need a separate config repo. What do you recommend?BeginnerA team wants a Git branch per environment (`dev`, `staging`, `prod`). How do you respond?IntermediateDevelopers keep running `kubectl edit` in production to "quickly fix" things. How do you stop it without blocking incident response?IntermediateYou must deploy one microservice to 4 environments with Helm. Which values structure do you choose?BeginnerManagement asks for proof of who deployed what to production and when, for an audit. How does GitOps answer this?Beginner