Staging and prod must run in separate AWS accounts with no network path from staging to prod. Where do you run Argo CD?
AdvancedScenarioEnvironments, ApplicationSets & Multi-Cluster
Answer
Situation read → Network isolation rules out a single hub reaching everything.
What I'd do →
- One Argo CD per account or tier (a prod instance inside the prod account), each pulling from the same config repo via outbound HTTPS.
- Each instance's ApplicationSets select only their environment folders.
- Optionally a read-only aggregation (notifications, metrics) to a central place.
Why → Pull-based GitOps works naturally with isolated networks; the hub model would require cross-account API access that the rules forbid.
Interview tip → Contrast with hub-and-spoke and its single high-value credential store.
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 new prod cluster comes online every month. How do you make sure it gets all standard add-ons automatically?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?Advanced