Interview Prep/Kubernetes/Helm, operators and GitOps

What is Kustomize `configMapGenerator` and why is it useful?

IntermediateScenarioHelm, operators and GitOps
Answer

Situation read → Config changes must trigger rollouts.

What I'd do →

  1. Define configMapGenerator in kustomization.yaml
  2. Kustomize appends a hash to the name
  3. References in Deployments are rewritten
  4. A content change creates a new name, so pods roll
  5. Old ConfigMaps can be pruned

Why → Hash suffixes tie pod revisions to config versions.

Interview tip → Cheap and neat approach for rollbacks.

All Kubernetes questions Roadmap: Platform engineering

More on Helm, operators and GitOps