Skip to content
Français
Sync not enabled: your progress stays in this browser My learning
Select theme
Français

Helm install: deploy and manage your releases

By updated

Improve this page

Logo Helm

This guide teaches you to deploy applications on Kubernetes with helm install and to manage their complete lifecycle: updates, rollbacks and removal. You will understand what a release is, how Helm stores its history, and above all how to read and interpret every line of output of the Helm commands. In 20 minutes, you will know how to deploy, update and troubleshoot your applications.

What you will learn

  • Tell a chart from a release, and understand where Helm keeps its history.
  • Install an application and read every line of the helm install output.
  • Update a release with helm upgrade, knowing what --reuse-values keeps and what it does not fix during a version upgrade.
  • Go back with helm rollback, relying on helm history.
  • Remove a release while identifying what survives it, PVCs and CRDs included.
  • Simulate a deployment with --dry-run before touching the cluster.

Prerequisites

  • Helm 4 installed (see How do you install Helm 4?) and a chart repository declared (see the section on helm repo)
  • A working Kubernetes cluster, kind for this training
  • kubectl configured and connected to the cluster

The examples use two repositories. If you have not declared them yet, add them:

Terminal window
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add podinfo https://stefanprodan.github.io/podinfo
helm repo update

Then check your environment:

Terminal window
# Check the connection to the cluster
kubectl cluster-info
# Check that Helm talks to the cluster
helm list --all-namespaces

Understanding Helm releases

Helm does not merely apply manifests: it keeps a memory of what it has deployed. That memory is the release, the object that ties together a chart, the values used and the state obtained on the cluster. Understanding where it is stored and how it evolves explains almost all of Helm's behavior, error messages included.

What is a release?

A release is a deployed instance of a Helm chart. Every release has:

  • A unique name in the namespace (chosen by you)
  • A revision number (starts at 1, incremented on every upgrade)
  • A status (deployed, failed, pending-install, etc.)
  • A history of the previous revisions (for rollbacks)

The distinction between chart and release is the one that unlocks the rest of the lesson. The chart is the versioned package, with its templates and its default values; it lives in a repository and knows nothing about your cluster. The release is the instance deployed in a namespace, with the values actually applied and its own revision number.

The practical consequence is that you can deploy the same chart several times, under different release names, for example prometheus-prod and prometheus-staging. Each release then carries its own history and its own values, and is updated or removed independently of the other.

Where does Helm store releases?

Helm stores release metadata directly in Kubernetes, as Secrets in the namespace of the release. The following sections install the my-metrics release and then update it: once those two operations are done, the command below lists one Secret per revision.

Terminal window
kubectl get secrets -n helm-demo -l "owner=helm"

The command lists one Secret per revision, all of type helm.sh/release.v1. Their name follows the pattern sh.helm.release.v1.<release>.v<revision>: you must therefore read sh.helm.release.v1.my-metrics.v1, then sh.helm.release.v1.my-metrics.v2.

Each Secret contains the complete state of its revision: the values used, the generated manifest and the metadata.

Installing an application

Installation turns a chart into real Kubernetes objects. Helm computes the manifests from the templates and the values, sends them to the API server, then records everything in a release at revision 1. As long as this step is not understood, upgrade and rollback remain opaque.

Basic syntax

Only two arguments are mandatory: the name you give to the release and the reference of the chart to deploy.

Terminal window
helm install <release-name> <chart> [options]
  • <release-name>: unique identifier of your choice (for example my-app or prometheus-prod)
  • <chart>: reference of the chart (repo/chart or local path)

First deployment

Create a test namespace, then deploy an application:

Terminal window
# Create a dedicated namespace
kubectl create namespace helm-demo
# Install kube-state-metrics from prometheus-community
helm install my-metrics prometheus-community/kube-state-metrics --version 5.27.0 --namespace helm-demo

The --version option pins the chart version. Without it, Helm installs the latest stable version published, which changes from one day to the next: the NOTES and the versions you read could then differ from those described here.

What the command prints: a metadata block, then the text of the NOTES. In the block, check four fields: NAME must be my-metrics, NAMESPACE must be helm-demo, STATUS must be deployed and REVISION must be 1. The LAST DEPLOYED field gives the date and time of the operation. The NOTES come from the chart: for kube-state-metrics, they describe the component and tell you how to reach its metrics.

Understanding the output of helm install

The following table explains each line of the output:

LineMeaningTo remember
NAME: my-metricsName of the release you choseIt is the identifier for all future commands (helm upgrade my-metrics, helm uninstall my-metrics)
LAST DEPLOYEDDate and time of the deploymentUseful for debugging ("when was this version deployed?")
NAMESPACE: helm-demoTarget Kubernetes namespaceAll the objects created (Pods, Services, etc.) are in this namespace
STATUS: deployedCurrent state of the releasedeployed = success. Other possible values: failed, pending-install, pending-upgrade
REVISION: 1Version number of the releaseStarts at 1, increments on every helm upgrade. Used for rollbacks
DESCRIPTION: Install completeSummary of the Helm operationServes as a landmark in helm history, where the same column describes each revision
TEST SUITE: NoneThe chart defines no Helm testWhen the chart defines some (as podinfo does), the line is absent at installation. After a helm test, helm status lists each test with Phase: Succeeded or Failed
NOTES:Post-installation instructionsAlways read this section! It contains the information specific to the chart

The NOTES: section is the only part of the output written by the author of the chart. No generic command will tell you how to reach the application you have just installed, and that is what makes it valuable. It usually carries four things: how to access the application (URL, port forwarding or Ingress), the default credentials when there are any, the verification commands to run, and the recommended additional configuration.

For kube-state-metrics, the NOTES say what the component does and at which internal address it exposes its metrics. If you lose them, helm status prints them again, with the same metadata block: they are stored with the release, not just written at installation.

The different release statuses

The status is the first thing to look at when something goes wrong. The pending-* statuses point to an interrupted operation, often because the Helm client was cut off midway: the release stays blocked until someone intervenes. The superseded status is not an anomaly: it designates a revision replaced by a more recent one.

The diagram follows the status of a release across the commands. The thick arrows mark the normal path: helm install leads to deployed, and helm upgrade leaves it to come back. Then look at the thin arrows: an installation or an update can end in failed. After a failed update, helm rollback lets you go back to a healthy revision; a failed installation has no previous revision, so you must fix the cause and then remove it with helm uninstall before reinstalling. The dotted line shows the previous revision that becomes superseded after a successful update, and uninstalled only appears with --keep-history.

Statuses of a Helm release. After helm install, the release goes from pending-install to deployed, or to failed on failure. From deployed, helm upgrade goes through pending-upgrade then returns to deployed, helm rollback goes through pending-rollback then returns to deployed, and helm uninstall goes through uninstalling then deletes the release, or leaves it in uninstalled with --keep-history. A failed upgrade leads to failed, from which helm rollback starts again, and the old revision becomes superseded after a successful upgrade.No releasepending-install install deployedfailedpending-upgrade upgrade pending-rollback rollback superseded previous revisionafter an upgrade uninstalling uninstall  rollback  default uninstalled --keep-history  rollback 
Source · SVG
Esc to close, + and − to zoom, scroll to move around. 100 %

The table details each status and what to do when the release stays stuck in it.

StatusMeaningAction
deployedInstallation succeeded, resources createdNothing to do
failedInstallation or update failedCheck the logs, fix, retry; after an update, helm rollback <healthy revision>, number read from helm history; after an installation, helm uninstall then reinstall
pending-installInstallation in progress, or client interruptedWait if it is still running, otherwise helm uninstall
pending-upgradeUpdate in progress, or client interruptedWait if it is still running, otherwise helm rollback
pending-rollbackRollback in progress, or client interruptedWait if it is still running, otherwise rerun helm rollback giving the number of the last healthy revision
supersededOld revision replacedNormal after an upgrade
uninstallingRemoval in progress, or failed without a status updateWait if it is still running, otherwise rerun helm uninstall
uninstalledRelease removed with --keep-historyNormal: the history is kept, helm rollback can restore it

Checking the deployment

After a helm install, check that the Kubernetes resources have been created:

Terminal window
# See the resources created by the release
kubectl get all -n helm-demo -l "app.kubernetes.io/instance=my-metrics"

The command lists the objects carrying this label: the Pods, the Service, the Deployment and the ReplicaSet it creates. You are looking for a Pod in Running with READY at 1/1, a Service of type ClusterIP, and a Deployment whose READY is 1/1. A Pod in Pending or CrashLoopBackOff means that the installation succeeded on the Helm side, but not on the application side: go to the troubleshooting section, further down.

Listing releases

helm list queries the release Secrets, not the deployed objects: you see what Helm believes it has installed. The command is limited by default to one namespace, that of the current context, which explains many Error: release: not found among beginners.

Seeing the releases of a namespace

With no additional filter, the output shows the releases whatever their status, including those in failed and those in uninstalled (kept by --keep-history).

Terminal window
helm list -n helm-demo

After the installation, the command prints a single line, that of my-metrics, with REVISION at 1 and STATUS at deployed. The CHART column joins the name of the chart and its version, here 5.27.0.

Reading the table:

ColumnMeaning
NAMEName of the release
NAMESPACEKubernetes namespace
REVISIONCurrent revision number
UPDATEDDate/time of the last change
STATUSCurrent state
CHARTName and version of the chart
APP VERSIONVersion of the deployed application

Seeing all releases (all namespaces)

This is the inventory command, the one that answers "what has been installed on this cluster". It assumes read access on all namespaces, which a restricted account does not always have.

Terminal window
helm list --all-namespaces
# or
helm list -A

Filtering by status

These filters are mostly for diagnosis: a release left pending for several minutes after an operation almost always points to an interrupted command.

Terminal window
# See the failed releases
helm list --failed
# See the releases being deployed
helm list --pending

On a namespace where no release is concerned, the list is simply empty: it is not an error.

A failed release therefore shows up in the list without any option. Here is a namespace where one release was uninstalled with --keep-history (garde, French for "kept"), where an installation was rejected by the server because the Deployment carried an unknown field (casse, "broken"), and where another one exceeded its timeout with --wait --timeout 30s because the image did not exist (lente, "slow"):

Terminal window
helm list -n helm-demo
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
casse helm-demo 1 2026-11-17 08:06:42.552518342 +0000 UTC failed champ-inconnu-0.1.0
garde helm-demo 1 2026-11-17 08:06:42.263269264 +0000 UTC uninstalled podinfo-6.17.0 6.17.0
lente helm-demo 1 2026-11-17 08:06:42.631595897 +0000 UTC failed podinfo-6.17.0 6.17.0

All three lines appear. helm list --failed keeps only casse and lente, helm list --uninstalled keeps only garde. An installation rejected by the server (server-side apply failed ... field not declared in schema) or stopped by an exceeded timeout therefore leaves a failed release: it blocks the name, and helm uninstall is needed before reinstalling.

There is one exception. When the installation fails before having written anything, there is no release at all. This is the case of a chart that declares a CRD and a resource of that kind in templates/: Helm answers unable to build kubernetes objects from release manifest: resource mapping not found ... no matches for kind "Widget", and helm list -n demo --failed --pending returns an empty list.

Updating a release

An update does not replace the release, it adds a revision to it. Helm compares the recorded state with the requested state and sends the cluster only what differs. Every successful upgrade increments the revision number and turns the previous one into superseded, which makes going back possible at any time.

helm upgrade

The helm upgrade command updates an existing release:

Terminal window
# Update the values, keeping the same chart version
helm upgrade my-metrics prometheus-community/kube-state-metrics --version 5.27.0 -n helm-demo --set replicas=2
# Move up a version: give a version more recent than the installed one
helm upgrade my-metrics prometheus-community/kube-state-metrics --version <new-version> -n helm-demo

Without --version, helm upgrade takes the latest stable version of the chart, which can cross several major versions at once. To choose the target version, helm search repo prometheus-community/kube-state-metrics --versions lists the ones the local index knows.

What the command prints: a sentence confirming the update, then the same metadata block as for the installation. Check two fields: STATUS must stay deployed, and REVISION must go from 1 to 2.

An update that receives a value starts again from the chart defaults, not from the values of the previous revision. To keep the overrides already set on the same chart version, add --reuse-values. For a version upgrade, --reuse-values also keeps the old defaults: export your values with helm get values -o yaml, pass the file again with -f, or use --reset-then-reuse-values. The --reuse-values section of the Values lesson details these cases, and the Values lesson the general behavior during upgrades.

Installing or updating with helm upgrade --install

For CI/CD scripts, add --install to helm upgrade: the command installs the release if it does not exist and updates it otherwise.

Terminal window
# Installs if it does not exist, upgrades if it does
helm upgrade --install my-metrics prometheus-community/kube-state-metrics --version 5.27.0 -n helm-demo

In continuous integration, write helm upgrade --install rather than helm install. The command becomes replayable as is (it is said to be idempotent), whether the release already exists or not, which saves you from writing a fragile condition around it.

Beware of the meaning of the word idempotent, though: every run still creates one more revision, even when nothing has changed. A pipeline triggered on every commit therefore fills the history for nothing. Helm caps it at 10 revisions by default: with each new revision, the oldest one beyond that limit is deleted. The --history-max option (or the HELM_MAX_HISTORY variable) changes the limit, and the value 0 removes it.

Viewing the history and rolling back

The history is the useful counterpart of storage in Secrets: each revision keeps its values and its complete manifest, so Helm can rebuild any past state without your original files. That is what makes the rollback reliable, even if the workstation that ran the initial deployment no longer exists.

Revision history

The DESCRIPTION column indicates the nature of each operation, which lets you immediately spot an earlier rollback.

Terminal window
helm history my-metrics -n helm-demo

The output is a table, one line per revision. After the installation then the update, you must read two lines: revision 1 in superseded with the description Install complete, and revision 2 in deployed with the description Upgrade complete. The UPDATED column gives the date of each operation.

Going back to a previous revision

The number passed to helm rollback is that of the target revision, as shown by helm history. Without a number, Helm goes back to the immediately previous revision.

Terminal window
# Roll back to revision 1
helm rollback my-metrics 1 -n helm-demo

Helm confirms the rollback with a one-line success message. Check the history after the rollback:

Terminal window
helm history my-metrics -n helm-demo

The table now has three lines: revisions 1 and 2 in superseded, and revision 3 in deployed, with the description Rollback to 1.

A rollback does not "go back" in the history: it adds to it. Helm creates a new revision that reproduces the state of the target revision, and keeps everything else. The complete history is therefore preserved, which keeps an auditable trace of the operation and lets you, if the rollback was the mistake, go forward again with a second rollback.

Removing a release

Removal is irreversible without precautions: by default, Helm deletes the Kubernetes objects and the revision history, so no rollback is possible any more. Two categories of objects survive nonetheless: the PersistentVolumeClaims created by a StatefulSet, and the CRDs shipped in the crds/ folder of the chart. A CRD placed in templates/ is an ordinary object of the release and disappears with it. To start from scratch, you must delete by hand what remains.

helm uninstall

helm uninstall removes the release, never the namespace: the namespace stays in place with any objects that did not belong to the release.

Terminal window
helm uninstall my-metrics -n helm-demo

Helm answers with a line that confirms the uninstallation and names the release. By default, helm uninstall:

  • Deletes all the Kubernetes objects created by the release
  • Deletes the revision history

Uninstalling a release that does not exist fails instead of doing nothing: Error: uninstall: Release not loaded: <name>: release: not found. In a cleanup script run with set -e, the first missing release therefore stops everything. Add --ignore-not-found so that the absence of the release counts as a successful uninstallation, or test first with helm status.

Keeping the history

The --keep-history option deletes the resources but keeps the recorded revisions: you can restore the release with a helm rollback, and helm list --uninstalled finds it again. The name of the release stays reserved in the namespace: a reinstallation under that name fails with Error: INSTALLATION FAILED: release name check failed: cannot reuse a name that is still in use, preceded by a log line level=ERROR msg="release name check failed".

This command is an alternative to the simple uninstallation of the previous section, not a follow-up: if my-metrics is already uninstalled without --keep-history, Helm answers release: not found. To try the option, reinstall the release first, then run:

Terminal window
helm uninstall my-metrics -n helm-demo --keep-history

With --keep-history, the revisions stay recorded. --uninstalled then lists the release with the uninstalled status, which the command does not show after a simple uninstallation, since the history is gone:

Terminal window
helm list -n helm-demo --uninstalled

Important options of helm install

These options combine freely and change the behavior of the command a lot. Two deserve particular attention. --wait makes Helm wait until the Pods are ready, without which the command returns before the application works. --rollback-on-failure, which was called --atomic in Helm v3, goes further by cancelling the operation if the timeout expires, which avoids leaving a half-installed release.

OptionDescriptionExample
--namespace / -nTarget namespace-n production
--create-namespaceCreates the namespace if it does not exist--create-namespace
--versionSpecific chart version--version 5.27.0
--values / -fCustom values file-f my-values.yaml
--setOverrides a value on the command line--set replicas=3
--dry-runSimulates without applying (client or server)--dry-run=client
--waitWaits until the Pods are Ready--wait
--timeoutTimeout for --wait--timeout 5m
--rollback-on-failureAutomatic rollback on failure--rollback-on-failure

Example with several options

This call is representative of a real deployment: pinned chart version, versioned values file, one-off override and wait for the Pods to be actually available.

Terminal window
helm install prometheus prometheus-community/prometheus \
--namespace monitoring \
--create-namespace \
--version 25.27.0 \
-f custom-values.yaml \
--set server.retention=30d \
--wait \
--timeout 10m

Simulating before deploying (dry-run)

The simulation makes the final rendering of the templates visible, substituted values included. It lets you check what a chart is really going to create before it touches the cluster, in particular when several values files override each other.

Terminal window
helm install my-app podinfo/podinfo --version 6.17.0 -n helm-demo --dry-run=client

The output then carries four blocks, and nothing is created in the cluster:

  1. The release metadata, as for a normal installation, with STATUS: pending-install and DESCRIPTION: Dry run complete
  2. The HOOKS: heading, which lists the resources run at specific moments of the lifecycle, such as the helm test Pods (it is empty when the chart defines none)
  3. The complete YAML manifest (MANIFEST:) that would be applied
  4. The NOTES as they would be displayed

Client-side vs server-side dry-run

The difference lies in what Helm asks of the cluster. Client mode never contacts the cluster and works even without it: Helm uses default API versions and ignores lookup. Server mode requires a reachable cluster: Helm checks that it responds, reads its version and its APIs to feed .Capabilities, lets lookup query it, then checks that no resource of the chart already exists outside the release. In both modes, Helm then stops before writing anything.

Terminal window
# Client side (does not contact the cluster)
helm install my-app podinfo/podinfo --version 6.17.0 -n helm-demo --dry-run=client
# Server side (queries the cluster, writes nothing)
helm install my-app podinfo/podinfo --version 6.17.0 -n helm-demo --dry-run=server

--dry-run=server is therefore more faithful on what depends on the cluster: the available API versions, lookup and conflicts with existing objects. On the other hand, in Helm 4.3.2, it sends no object to the Kubernetes API: it only reads the cluster. It therefore validates neither the schema of the objects, nor admission (webhooks), nor quotas.

Here is what server mode returns for podinfo 6.17.0, with some lines cut (...) for readability:

Terminal window
helm install demo podinfo/podinfo --version 6.17.0 -n helm-demo --dry-run=server
NAME: demo
LAST DEPLOYED: Tue Nov 17 08:07:13 2026
NAMESPACE: helm-demo
STATUS: pending-install
REVISION: 1
DESCRIPTION: Dry run complete
HOOKS:
---
# Source: podinfo/templates/tests/grpc.yaml
apiVersion: v1
kind: Pod
metadata:
name: demo-podinfo-grpc-test-r0ylx
...
MANIFEST:
---
# Source: podinfo/templates/service.yaml
apiVersion: v1
kind: Service
...
# Source: podinfo/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
...
NOTES:
1. Get the application URL by running these commands:
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl -n helm-demo port-forward deploy/demo-podinfo 8080:9898

Look at HOOKS: first: it contains three Pods (grpc.yaml, jwt.yaml, service.yaml in templates/tests/), all annotated "helm.sh/hook": test-success. These are the helm test tests, not resources of the application. The MANIFEST: contains only the Service and the Deployment. No TEST SUITE: line appears in this output.

Tested with a chart whose Deployment carries replicaz: 2 (unknown field) or replicas: "two" (wrong type): both --dry-run modes return code 0. Only the real installation fails, with server-side apply failed ... .spec.replicaz: field not declared in schema, and leaves the release in failed. Against a ResourceQuota at pods: 0, the result is the same with a podinfo chart (which creates a Deployment): --dry-run=server returns code 0 and Dry run complete.

Helm's server mode is therefore mostly useful for lookup functions. To have the API judge the manifests, send the rendering to kubectl apply --dry-run=server. It returns code 1 for an unknown field or a wrong type, with for example strict decoding error: unknown field "spec.replicaz":

Terminal window
helm template my-app podinfo/podinfo --version 6.17.0 -n helm-demo | kubectl apply --dry-run=server -n helm-demo -f -

This command assumes that the namespace and the CRDs your resources depend on already exist in the cluster. On a first installation, create them first: otherwise, the API rejects the manifests. This also applies to the CRDs that the chart installs itself from its crds/ folder, which do not exist until the chart is installed.

The quota is a special case, and the way you run the command matters. In a test namespace whose ResourceQuota imposes pods: 0, a helm template run without -n renders the objects in the default namespace, and kubectl apply -n test rejects them all for that reason alone, before even looking at the quota:

Terminal window
helm template demo podinfo/podinfo --version 6.17.0 | kubectl apply --dry-run=server -n test -f -
the namespace from the provided object "default" does not match the namespace "test". You must pass '--namespace=default' to perform this operation.

The same message comes back once per rendered object. With -n test on both sides, the check goes as far as the quota:

Terminal window
helm template demo podinfo/podinfo --version 6.17.0 -n test | kubectl apply --dry-run=server -n test -f -
service/demo-podinfo created (server dry run)
deployment.apps/demo-podinfo created (server dry run)
Error from server (Forbidden): error when creating "STDIN": pods "demo-podinfo-grpc-test-wiafp" is forbidden: exceeded quota: zero, requested: pods=1, used: pods=0, limited: pods=0
Error from server (Forbidden): error when creating "STDIN": pods "demo-podinfo-jwt-test-1z9o0" is forbidden: exceeded quota: zero, requested: pods=1, used: pods=0, limited: pods=0
Error from server (Forbidden): error when creating "STDIN": pods "demo-podinfo-service-test-sd9v4" is forbidden: exceeded quota: zero, requested: pods=1, used: pods=0, limited: pods=0

The Service and the Deployment pass. What is rejected are the three test Pods. helm template also renders the test hooks, and a real kubectl apply would create them as ordinary Pods; they are created directly, so the quota sees them. The Deployment, for its part, is accepted despite pods: 0: the API only checks the quota when the ReplicaSet creates the Pods. The check by kubectl apply --dry-run=server therefore does not detect the quota of a Deployment, and neither does Helm's --dry-run=server. To find it, read the events of the ReplicaSet after the installation, as in the example below.

In a namespace whose ResourceQuota imposes pods: 0, a real installation does not report the problem right away: helm install returns code 0 and STATUS: deployed, while the Deployment stays at 0/1 and the ReplicaSet carries FailedCreate events (exceeded quota: zero). With --wait --timeout 45s, the command returns code 1 (here for a release y in the test namespace): Error: INSTALLATION FAILED: resource Deployment/test/y-podinfo not ready. status: InProgress, message: Replicas: 0/1, followed by context deadline exceeded. Without --wait, deployed therefore does not prove that the Pods are running.

Guided lab: the complete lifecycle of a release

This lab chains the complete lifecycle of a release: installation, update, rollback, then removal.

  1. Create a namespace and install podinfo

    Terminal window
    kubectl create namespace lab-helm
    helm install demo podinfo/podinfo --namespace lab-helm --version 6.14.0

    Read the NOTES displayed carefully.

  2. Check the deployment

    Terminal window
    kubectl get all -n lab-helm
    helm list -n lab-helm
  3. Update to a more recent version

    Terminal window
    helm upgrade demo podinfo/podinfo --namespace lab-helm --version 6.14.1
  4. Look at the history

    Terminal window
    helm history demo -n lab-helm
  5. Perform a rollback

    Terminal window
    helm rollback demo 1 -n lab-helm
    helm history demo -n lab-helm
  6. Clean up

    Terminal window
    helm uninstall demo -n lab-helm
    kubectl delete namespace lab-helm

At the end of step 5, helm history demo shows three revisions, and the third is the rollback to revision 1.

Troubleshooting

Most Helm errors come from the gap between the state recorded in the release and the reality of the cluster: a name already taken, an implicit namespace, or Pods that do not start within the allotted time. The table gives the quick reading, the commands that follow trace the exact cause.

SymptomProbable causeSolution
STATUS: failedError in the templates or invalid resourceshelm status <release> then kubectl describe on the resources
Error: INSTALLATION FAILED: release name check failed: cannot reuse a name that is still in useA release with this name already exists in this namespace (or was uninstalled with --keep-history)Use helm upgrade --install, choose another name or namespace, or delete it first
Error: INSTALLATION FAILED: resource Deployment/<ns>/<name> not ready. status: InProgress, message: ... followed by context deadline exceededWith --wait, the Pods are not ready before the end of --timeoutRead the events with kubectl describe on the Deployment and its Pods, then increase --timeout if the application is just slow
Pods in CrashLoopBackOffIncorrect configurationCheck the values, the secrets, the resources
Error: release: not foundWrong namespace, or release missing (message returned by helm status, helm history and helm get values)Add -n <namespace> to the command, then helm list -A
Error: uninstall: Release not loaded: <name>: release: not foundThe release does not exist (or not in this namespace)Check -n, or add --ignore-not-found in a cleanup script
UPGRADE FAILED: another operation in progressRelease stuck in pending-*See the table of statuses: helm uninstall after a pending-install, helm rollback otherwise

Investigating a failed release

These three commands read the release as it is recorded. helm status gives its state. helm get manifest shows the YAML actually applied, whereas helm template recomputes a rendering from the current chart, which can differ from what is running. helm get values shows the values supplied. The gap between what you thought you passed and what is recorded is what you need to locate.

Terminal window
# See the detailed status
helm status my-release -n my-namespace
# See the manifests that were applied
helm get manifest my-release -n my-namespace
# See the values used
helm get values my-release -n my-namespace

With Helm v4.3.2, helm status prints after the metadata the RESOURCES block (Service, Deployment, related Pods, with their state), then the NOTES. Look at the READY column: a deployed release whose Deployment stays at 0/1 has not started its Pods. The --show-resources flag no longer exists.

Without options, helm get values shows only the values you supplied. On a release installed without values, the output is USER-SUPPLIED VALUES: followed by null. Add --all to see the complete merge with the chart defaults, under COMPUTED VALUES.

Hands-on practice

A Helm rollback is read in the history of the release, not in the chart. The lab gives you a web chart at version 0.1.0, to install with its default values in an empty namespace. You then bump the chart to 0.2.0 by editing its Chart.yaml file, upgrade the release with 3 replicas and a tier=front Pod label, then go back to the first revision. The history must then show web-0.1.0, web-0.2.0, then web-0.1.0 again.

The validation reads the history of the release and the values of each revision, checks the state of the Deployment and the image the chart deploys, then queries the Service to make sure the page answers.

Key takeaways

  • A release is the deployed instance of a chart, with a unique name, a revision number and a history.
  • helm install creates a new release. Always read the NOTES displayed.
  • The output of helm install gives NAME, NAMESPACE, STATUS and REVISION: these are the four fields to reread when there is a problem.
  • helm upgrade --install is idempotent, prefer it in CI/CD; every run adds a revision, and Helm keeps only 10 by default (--history-max).
  • A helm upgrade that receives a value starts again from the chart defaults: --reuse-values keeps the overrides of the previous revision, and is meant for an update on the same chart version (for a version upgrade: helm get values -o yaml passed again with -f, or --reset-then-reuse-values).
  • helm history + helm rollback let you go back to an earlier state.
  • --dry-run=client stays local; --dry-run=server queries the cluster (API versions, lookup, conflicts) but sends no object to the API and validates neither schema, nor admission, nor quotas. Run one of the two before production, and kubectl apply --dry-run=server to have the API judge the manifests (the namespace and the CRDs must already exist).
  • Since Helm 4, helm list shows all statuses; --failed, --pending and --uninstalled are used to filter.
  • Without --wait, STATUS: deployed does not prove that the Pods are running: with a quota that rejects Pods, the installation succeeds and the Deployment stays at 0/1.
  • Helm stores releases in Kubernetes Secrets (no external database).

Knowledge check

Five questions drawn at random from the bank of this lesson. They cover what Helm records about a release and the commands that make it evolve.

Knowledge check

Check what you have learned with this interactive quiz

5 questions
5 min
80% to pass

How it works

  • The timer starts when you click Start
  • Multiple choice, true/false and short answer questions
  • You can move between questions
  • Detailed results are shown at the end

Starts the quiz and the timer