Interview Prep/Helm/Releases, Upgrades & Rollbacks

During an upgrade, Helm reports success but a new CronJob was never created. What do you check?

IntermediateScenarioReleases, Upgrades & Rollbacks
Answer

Situation read → Helm did what the rendered output said; the template probably did not render it.

What I'd do →

  1. helm get manifest shop -n shop | grep -A3 'kind: CronJob'.
  2. helm get values shop --all to check the enabling flag.
  3. helm template locally with the same values and -s templates/cronjob.yaml.
  4. Look for a condition typo (.Values.cronjobs.enabled vs .Values.cronJobs.enabled).
  5. Add additionalProperties: false on that block in the schema to catch typos.

Why → If it is not in the manifest, Kubernetes never saw it.

Interview tip → Start from helm get manifest; it is ground truth.

All Helm questions Roadmap: Helm

More on Releases, Upgrades & Rollbacks