CKAD · 24 November 2026 · 5 min read

Helm explained: charts, releases and rollbacks, with examples

Helm is the package manager for Kubernetes. Charts, values, releases and revisions; the commands to install, upgrade, roll back and inspect a release; and the traps that catch people in the CKA and CKAD exams.

Helm is the package manager for Kubernetes. A chart is a folder of templated YAML plus a values.yaml of settings. Installing a chart creates a release. Every upgrade or rollback adds a numbered revision to that release, so you can see what changed and undo it. This guide covers the handful of commands the CKA and CKAD exams expect, and what each one actually does in the cluster.

TL;DR

  • Find a chart: helm repo add, helm repo update, helm search repo.
  • Read its settings before installing: helm show values <chart>.
  • Install: helm install <release> <chart> -n <ns> --create-namespace --set key=value (or -f my-values.yaml).
  • Change and undo: helm upgrade, helm history, helm rollback <release> <revision>.
  • Inspect: helm list -A, helm status, helm get values, helm get manifest.
  • Releases are namespaced. Forget -n and Helm looks in your current namespace and finds nothing.
  • Exam: CKA asks you to use Helm and Kustomize to install cluster components. CKAD asks you to deploy existing packages with Helm (Application Deployment, 20%).

Charts, values, releases and revisions

A chart looks like this (helm create web makes one):

Shell
web/  Chart.yaml        # name, chart version, appVersion  values.yaml       # the default settings  templates/        # Deployment, Service... written as Go templates    deployment.yaml    service.yaml    _helpers.tpl  charts/           # charts this one depends on

A template reads values with {{ .Values.replicaCount }}. When you install, Helm merges your values over the defaults, renders the templates into plain Kubernetes YAML and applies it. It then records the release, with the rendered manifest and the values you gave, in a Secret in the release's namespace (type helm.sh/release.v1). That record is what makes helm history and helm rollback possible. There is no server-side Helm component.

Install a chart from a repository

This walk-through uses podinfo, a small demo app whose chart is published in a repository and as an OCI artifact.

Shell
helm repo add podinfo https://stefanprodan.github.io/podinfohelm repo updatehelm search repo podinfohelm show values podinfo/podinfo | head -30

Install it as a release called web in the demo namespace, with two replicas:

Shell
helm install web podinfo/podinfo -n demo --create-namespace \  --set replicaCount=2 --set ui.message="Hello from Helm" --waithelm list -n demokubectl get deploy,svc,pods -n demo

Charts can also come straight from an OCI registry, with no helm repo add:

Shell
helm install web2 oci://ghcr.io/stefanprodan/charts/podinfo -n demo

For more than a couple of settings, put them in a file and pass -f. The file wins over the chart's defaults, and --set wins over both.

Shell
# web-values.yamlreplicaCount: 3ui:  message: "Values from a file"

Upgrade, history and rollback

Shell
helm upgrade web podinfo/podinfo -n demo -f web-values.yamlhelm history web -n demohelm rollback web 1 -n demohelm history web -n demo

History shows revisions 1, 2 and 3: the rollback does not delete revision 2. It creates revision 3 with the contents of revision 1. Two traps catch people in the exam:

  • helm upgrade starts from the chart defaults, not from what is running. Values you passed at install are dropped unless you pass them again. To change one setting and keep the rest, use --reuse-values, then check with helm get values.
  • Use the release name, not the chart name. helm rollback podinfo 1 fails if the release is called web.

helm upgrade --install installs the release if it does not exist and upgrades it if it does. Pipelines use it so the same command works the first time and every time after.

See what Helm did

Shell
helm status web -n demo          # state, revision, the chart's noteshelm get values web -n demo      # only the values you suppliedhelm get values web -n demo --allhelm get manifest web -n demo    # the YAML that was appliedhelm template web podinfo/podinfo --set replicaCount=2   # render locally, apply nothing

helm template is the fastest way to see what a --set will change before you touch the cluster. It is also how other tools, including Argo CD and Kustomize, use Helm charts without helm install.

Remove a release

Shell
helm uninstall web -n demo

This deletes the resources in the release and its history. Resources created by Helm hooks are not part of the release and stay behind unless the chart sets a delete policy. See Helm hooks vs init containers. CustomResourceDefinitions installed from a chart's crds/ folder are also kept, on purpose, so that deleting a release cannot wipe out every custom resource of that type.

Helm 3 or Helm 4?

Helm 4 is the current major version. The commands in this guide work the same in both. The differences you are most likely to notice: new installs use server-side apply by default, --atomic is now --rollback-on-failure, and --force is now --force-replace (the old names still work, with a warning). Run helm version --short to see which one you have.

Common questions

What is the difference between a chart version and an app version?

version in Chart.yaml is the version of the packaging. appVersion is the version of the software inside it, often the default image tag. A chart can go from 1.2.0 to 1.2.1 to fix a template while the app stays at 6.5.0.

Why does helm list show nothing?

It only lists releases in the current namespace. Use helm list -A, or add -n <namespace>.

My release says pending-upgrade and every upgrade fails. What now?

An earlier operation was interrupted. Check helm history, then helm rollback to the last deployed revision. That clears the lock, and the next upgrade can run.

Can I change a resource with kubectl edit after Helm installs it?

You can, but the next helm upgrade may undo your change, and helm get manifest will no longer match the cluster. Change the values and upgrade instead.

Where does Kustomize fit?

Kustomize customizes plain YAML without templates. Many teams use both. See Kustomize explained and Helm vs Kustomize.

Keep going

Helm is easiest to learn by breaking a release and fixing it. In the Gazeek CKAD Helm and Kustomize module you ship your own chart with a production values file and then remove the release cleanly, on a real cluster, with checks that confirm each step. CKA students meet Helm, Kustomize and CRDs in the workloads for admins module. For exam-style practice, try question 8 in the CKAD practice questions.

More from the blog