You need to manage cluster add-ons (ingress, cert-manager, monitoring) for 20 clusters. How do you structure it?
IntermediateScenarioAdopting GitOps & Repo Design
Answer
Situation read → Same add-ons, slightly different config per cluster.
What I'd do →
platform/<addon>/with a base values file plusvalues-<env>.yamlor per-cluster overrides.- Label cluster Secrets (
env=prod,region=eu,addon-monitoring=enabled). - One ApplicationSet per add-on with a cluster generator selecting by label, using multiple sources (upstream chart plus
$values). - A root app-of-apps that installs all add-on ApplicationSets, ordered by waves (cert-manager before things needing certificates).
Why → Labels make opting clusters in and out a one-line change; per-add-on ApplicationSets keep blast radius small.
Interview tip → Mention RollingSync or staged label rollout for add-on upgrades across the fleet.
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?BeginnerYour config repo has 400 Applications in one monorepo and every commit triggers a refresh of everything. What do you change?Advanced