Interview Prep/Real-World Interview/Multi-env and multi-account

Helm values files or Kustomize overlays for per-environment config?

BeginnerScenarioMulti-env and multi-account
Answer

Situation read → Both handle environment differences. Helm templates and packages; Kustomize patches plain YAML. Pick based on who owns the manifests.

What I'd do →

  1. Helm when you ship a reusable chart (platform-provided app chart, third-party software) and environments differ by values.
helm upgrade --install api ./chart -f values.yaml -f values-prod.yaml -n prod
  1. Kustomize when each team owns plain YAML and environments differ by small patches (replicas, image, resources).
# overlays/prod/kustomization.yaml
resources: ["../../base"]
images:
  - name: api
    newTag: "1.8.0"
patches:
  - path: replicas.yaml
  1. Combining them is common too: Kustomize can render a Helm chart and patch the output, and Argo CD supports both.
  2. Keep environment differences small and visible; if prod values files are 400 lines different from dev, that's a parity problem.

Why → Both work with GitOps; consistency across the organisation matters more than the tool.

Interview tip → Say you'd standardise on one per org; mixed approaches slow everyone down.

All Real-World Interview questions Roadmap: Interview readiness

More on Multi-env and multi-account