Interview Prep/Helm/Helm 3 Architecture & Release Storage

What happens step by step when you run `helm install shop ./shop -n shop`?

IntermediateConceptHelm 3 Architecture & Release Storage
Answer
  1. Load the chart and dependencies from charts/; check kubeVersion and Chart.yaml validity.
  2. Merge values (chart defaults, -f, --set) and validate against values.schema.json.
  3. Check that the name is unused in the namespace; write the revision 1 record as pending-install.
  4. Render templates with built-in objects, split hooks from regular manifests, sort by kind.
  5. Install CRDs from crds/, run pre-install hooks in weight order and wait for them.
  6. Create the resources; with --wait, wait until they are ready.
  7. Run post-install hooks, mark the release deployed, print NOTES.txt.

Any failure marks the release failed (or uninstalls it with --atomic).

All Helm questions Roadmap: Helm

More on Helm 3 Architecture & Release Storage