A startup with three services asks whether they need a separate config repo. What do you recommend?
BeginnerScenarioAdopting GitOps & Repo Design
Answer
Situation read → Small team, low ceremony, but they will grow.
What I'd do →
- Start with one config repo for all services and environments (not one per service), separate from app code.
- Layout:
apps/<service>/{base,overlays/dev,staging,prod}plusbootstrap/for Argo CD objects. - CI in each app repo commits tags to the config repo.
- If they insist on one repo, use a
deploy/folder and make sure CI tag commits do not retrigger builds (path filters,[skip ci]).
Why → A separate config repo gives a clean deploy history, simple access control for prod, and avoids build loops; one shared repo avoids sprawl.
Interview tip → Show you can scale the answer down: "one config repo" is the right size for most teams, not a repo per service per environment.
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 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?BeginnerYour config repo has 400 Applications in one monorepo and every commit triggers a refresh of everything. What do you change?AdvancedManagement asks for proof of who deployed what to production and when, for an audit. How does GitOps answer this?Beginner