Introduction
Raw Kubernetes YAML works fine until you have the same application in three environments. Then you are copying files, editing image tags by hand, and hoping staging and production only differ where you meant them to. Helm is the tool that ends that: it is the package manager for Kubernetes, and a Helm chart is a packaged, versioned, configurable bundle of the YAML your application needs.
This tutorial teaches Helm from zero: install it, build your first chart, deploy it as a release, upgrade it, and roll it back when an upgrade goes wrong. You need a working cluster — minikube or kind on your laptop is enough — and the basics from our Kubernetes Tutorial for Beginners. If you can write a Deployment by hand, you are ready for Helm.
Version note (28 Nov 2026): the current major line is Helm 4 — version 4.3.2, released mid-November 2026. Helm 4.0.0 shipped on 12 November 2025. Helm 3 is in security-only maintenance and reaches end of life on 10 February 2027 — after that date it receives no updates of any kind, including security patches. If you are learning Helm now, learn Helm 4. The commands in this tutorial are the same in both, with two renamed flags noted below.
What Helm Is — and What It Is Not
Helm calls itself “the package manager for Kubernetes”, and the analogy holds: just as apt or Homebrew install software on a machine, Helm installs applications on a cluster. A chart is the package — a directory of files that describes an application. A release is one installed instance of a chart in a cluster, with a name and a revision history. The same chart can be installed many times under different release names: web-staging and web-prod can be two releases of the same chart with different settings.
Helm is client-only. There is no server component in the cluster — Helm 2 had one, called Tiller, and it was removed in Helm 3 back in November 2019. The Helm CLI talks to the Kubernetes API directly, using the same kubeconfig as kubectl, and stores release state as Secrets in the cluster. That matters for security: whoever can run Helm can deploy to the cluster, so Helm’s permissions are your cluster’s RBAC permissions.
Helm is not a deployment tool for everything. It excels at packaging applications and managing their lifecycle — install, upgrade, rollback — and at sharing reusable packages. It is not a replacement for GitOps (see Argo CD, covered in our ArgoCD GitOps tutorial), and it does not manage infrastructure outside the cluster. Most teams use Helm to package applications and a GitOps tool to decide when those packages get deployed.
Installing Helm
Install Helm 4 with a package manager or the official script. On macOS:
brew install helm
On Linux, the official installer script downloads the right binary for your system. Download it, read it, then run it — do not pipe it straight into a shell without looking:
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-4 chmod 700 get_helm.sh ./get_helm.sh
On Windows, winget install Helm.Helm or choco install kubernetes-helm both work. Confirm the install and that Helm can see your cluster:
helm version kubectl config current-context
helm version should report a 4.x version. If it reports 3.x, you installed the old line — check which package your package manager gave you. Helm uses the same kubeconfig context as kubectl, so if kubectl works, Helm works.
Your First Chart
Helm can scaffold a chart for you. This creates a working example application — an nginx deployment with a service — that you can inspect and modify:
helm create myapp
Look at what it made:
myapp/
Chart.yaml # chart metadata: name, version, description
values.yaml # default configuration values
charts/ # dependency charts (empty for now)
templates/ # Go templates that render Kubernetes manifests
deployment.yaml
service.yaml
ingress.yaml
serviceaccount.yaml
NOTES.txt # message shown after install
values.schema.json # optional validation for values
crds/ # optional custom resource definitions
Three files do almost all the work. Chart.yaml holds the chart’s identity — apiVersion, name and version are required. values.yaml holds the default configuration: image name and tag, replica count, service type. templates/ holds Go templates — ordinary Kubernetes YAML with {{ }} placeholders that Helm fills in from the values. The deployment template, for example, sets replicas: {{ .Values.replicaCount }} and image: {{ .Values.image.repository }}:{{ .Values.image.tag }}.
Render the templates without installing anything, to see exactly what Helm would send to the cluster:
helm template myapp ./myapp helm lint ./myapp
helm template prints the rendered YAML. helm lint checks the chart for mistakes. Both are worth running before every install — they catch typos in values and templates without touching the cluster.
Install, Upgrade and Roll Back
Install the chart as a release named myapp in a namespace of your own:
helm install myapp ./myapp --namespace demo --create-namespace
Helm prints the contents of NOTES.txt — usually how to reach the application. Check what it created:
helm list --namespace demo kubectl get all --namespace demo
helm list shows the release, its chart version, its status (deployed) and its revision number — 1, for a first install. Now change something and upgrade. The simplest change is the replica count:
helm upgrade myapp ./myapp --namespace demo --set replicaCount=3 helm list --namespace demo
The revision is now 2. –set overrides a value on the command line; for real changes you would edit values.yaml or pass a file with -f custom-values.yaml. Upgrades are the heart of Helm: it computes the difference between the old and new manifests and applies only what changed.
Rollbacks are why the revision history exists. If revision 2 breaks something, go back to revision 1:
helm rollback myapp 1 --namespace demo
Helm re-applies the manifests from revision 1. Two flags changed names in Helm 4: –atomic is now –rollback-on-failure, and –force is now –force-replace. If you copy a Helm 3 command from an old tutorial and it complains about an unknown flag, this is usually why. When you are done, remove everything:
helm uninstall myapp --namespace demo
Uninstall deletes the release and its resources. The namespace remains until you delete it yourself.
Installing Somebody Else’s Chart
Writing your own chart is half of Helm; the other half is installing charts other people wrote. Artifact Hub is the search engine for public charts — start there instead of guessing repository URLs. Add a repository and install a chart from it:
helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update helm search repo bitnami/nginx helm show values bitnami/nginx
helm show values prints the chart’s default values — always read them before installing, because they tell you what you can configure. Then install with your own overrides:
helm install my-nginx bitnami/nginx \ --namespace web --create-namespace \ --set service.type=ClusterIP \ --set replicaCount=2
The same pattern works for databases, monitoring stacks and ingress controllers — helm install with a values file is how most teams deploy third-party software to Kubernetes. One discipline to adopt early: keep your values files in Git, one per environment, and install with -f values-prod.yaml. The chart is the same everywhere; the values file is what differs.
Helm vs Kustomize
Helm and Kustomize solve the same problem — “the same application, slightly different, in several places” — in opposite ways, and the exam and interview questions in our Kubernetes Interview Questions and Answers love this comparison.
| Helm | Kustomize | |
|---|---|---|
| Approach | Templating: Go templates + values.yaml | Patching: plain YAML base + overlays |
| Logic | Conditionals, loops, functions | None — valid YAML only |
| Packaging | Versioned charts, shared via repositories | No packaging; overlays live in Git |
| Release management | Releases, revisions, rollback built in | None — kubectl apply is the deployment |
| Built into kubectl | No | Yes (kubectl apply -k) |
Helm is the better choice for packaging and sharing applications, especially third-party ones, and for anything that needs rollback. Kustomize is the better choice when you want your manifests to stay plain, readable YAML with no templating language in the way. Many teams use both: Helm charts for third-party applications, Kustomize overlays for their own. They are not rivals; they are different tools for different shapes of the same problem.
Common Beginner Mistakes
- Editing rendered YAML instead of the chart. If you kubectl edit a Deployment that Helm manages, the next helm upgrade overwrites your change. Fix the chart or the values, never the live object.
- Hard-coding values in templates. A chart with the image tag written directly in deployment.yaml cannot be reused. Put every environment-specific value in values.yaml and reference it with {{ .Values… }}.
- Skipping `helm template` and `helm lint`. Both are free, both run without a cluster, and both catch the typos that otherwise surface as a failed install.
- Forgetting which namespace a release is in. Releases are namespaced. helm list with no –namespace only shows the current namespace’s releases — a “missing” release is usually in another namespace.
- Using Helm 3 for a new setup. Helm 3 reaches end of life on 10 February 2027. New installations should use Helm 4; if you inherit a Helm 3 setup, plan the migration before the deadline.
- Storing secrets in values files. Values files end up in Git. Use your cluster’s secret management — Sealed Secrets, External Secrets, or your cloud’s secret store — and reference secrets from values instead of writing them there.
FAQ
Do I need Helm to use Kubernetes?
No. Kubernetes works fine with plain YAML and kubectl apply. Helm becomes worth it when you deploy the same application more than once, share applications between teams, or need reliable upgrades and rollbacks.
What is the difference between a chart and a release?
A chart is the package — the files. A release is one installed instance of that package in a cluster, with a name and a revision number. One chart can produce many releases.
Is Helm 3 still safe to use?
It receives security fixes until 10 February 2027, then nothing. It is safe today and unsupported after that date. New projects should start on Helm 4.
Can Helm manage non-Kubernetes resources?
No. Helm manages Kubernetes objects only. Infrastructure outside the cluster — networks, databases, DNS — belongs to tools like Terraform, covered in our Terraform Tutorial for Beginners.
Where do I find charts for popular software?
Artifact Hub indexes public charts from many publishers. Always check a chart’s maintenance status and read its default values with helm show values before installing it.
Conclusion
Helm turns a pile of YAML into a versioned, configurable package: a chart you can install, upgrade and roll back with three commands. The workflow you practised here — helm create, helm template, helm install, helm upgrade, helm rollback — is the same workflow used to run production systems, and the discipline around it (values in Git, secrets out of values, lint before install) is what separates a Helm user from a Helm expert.
From here, the natural next step is deployment automation: our ArgoCD GitOps tutorial shows how to let a Git repository drive Helm releases automatically, and our Docker Tutorial for Beginners covers the containers those releases run.
Sources checked 28 Nov 2026: Helm project releases (Helm 4.3.2, mid-Nov 2026; Helm 4.0.0, 12 Nov 2025; Helm 3.22.1, 15 Oct 2026; Helm 3 end of life 10 Feb 2027; Helm 2 end of life 13 Nov 2020); Helm documentation at helm.sh (chart structure, commands, Helm 4 flag renames — –atomic to –rollback-on-failure, –force to –force-replace); Helm install script get-helm-4 verified via Helm project sources. External references: Helm documentation · Artifact Hub.
—



