Advertisement
Advanced ArgoCD, Applications

How do you manage many environments (dev/staging/prod) for one app?

Short answer

Common approaches: a Kustomize base with per-env overlays, or a Helm chart with per-env values files, each referenced by a separate Application (often generated by an ApplicationSet Git generator).

Save ArgoCD mock interview
Advertisement
AModel answer
Common approaches: a Kustomize base with per-env overlays, or a Helm chart with per-env values files, each referenced by a separate Application (often generated by an ApplicationSet Git generator). Promotion moves a tested revision/tag from one env's config to the next via PR, keeping environments consistent yet independently controllable.
generators:
  - git:
      files:
        - path: envs/**/config.json
Real-world example
A Git-file ApplicationSet generates dev, staging, and prod Applications from per-env config files, each pinning its own tag.
Likely follow-ups
  • How is promotion handled across envs? | Overlays vs values files?
Related topics