CONTAINERS / A CONCEPT NOTE

Helm

kubernetes package manager — templated charts for complex apps

~70 sec read

Overview · mechanism
pitfall · examples

01 / THE SHORT VERSION

The idea in a few sentences.

A Helm Chart is a bundle of templated Kubernetes YAML files plus a values.yaml for configuration. helm install renders the templates with your values and applies them to the cluster. Revisions let you upgrade, rollback, and diff releases cleanly.

02 / FOLLOW THE MECHANISM

How a chart deploys

  1. Helm client

    reads the chart directory or fetches it from a repository and loads values.yaml.

  2. Helm client

    merges your custom values with chart defaults (last value file wins).

  3. Templating engine

    renders each .yaml.tpl file through Go templates, substituting values with .Values.* and .Chart.* references.

  4. Kubernetes API

    receives the rendered YAML and creates/updates resources. Helm tracks the release revision in Secrets.

04 / COMMAND NOTES

Read the command, then the result.

Inspect the flags and arguments before trying an example. Snippets can need local setup, replacement values, or resources in your own environment.

EXAMPLE 01 · REFERENCE

list all releases across namespaces

helm list -A

EXAMPLE 02 · REFERENCE

see what values were actually applied

helm get values RELEASE_NAME

Explore command anatomy in the CLI lab