A new prod cluster comes online every month. How do you make sure it gets all standard add-ons automatically?
IntermediateScenarioEnvironments, ApplicationSets & Multi-Cluster
Answer
Situation read → Fleet onboarding should be one action.
What I'd do →
- Each add-on has an ApplicationSet with a cluster generator selecting
env: prod(and opt-out labels). - Onboarding a cluster = creating its cluster Secret with labels (declared in Git, credentials via External Secrets or IAM auth).
- Per-cluster facts (region, ingress class) come from Secret labels or annotations used in the template.
Why → Labels on the cluster Secret drive everything; no per-cluster YAML to copy.
Interview tip → Say you would test with a canary label first for new add-on versions.
More on Environments, ApplicationSets & Multi-Cluster
You need to deploy the same app to dev, staging and prod namespaces with different values. Design it with an ApplicationSet.IntermediateA matrix ApplicationSet (clusters times apps) generated 300 Applications, but a bad commit to one app's chart broke all prod clusters at once. How do you redesign for safer rollouts?AdvancedYou want preview environments for every pull request on the app repo. How do you do it with Argo CD?IntermediateSome clusters need a different version of an add-on than the rest. How do you handle exceptions without duplicating ApplicationSets?AdvancedHow would you register 50 EKS clusters with Argo CD securely, without long-lived tokens?AdvancedA product team wants their own namespace in every cluster with the same RBAC and quotas. How do you automate it?Intermediate