Interview Prep/GitOps & Argo CD/Environments, ApplicationSets & Multi-Cluster

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 →

  1. One Argo CD per account or tier (a prod instance inside the prod account), each pulling from the same config repo via outbound HTTPS.
  2. Each instance's ApplicationSets select only their environment folders.
  3. 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.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Environments, ApplicationSets & Multi-Cluster