Helm cheat sheet

A quick reference for Helm with the most important commands and options. Read it online below, or download the printable PDF.

Download PDF

Helm

Helm is the package manager for Kubernetes. See https://helm.sh/docs/intro/install/ for installation instructions.

Global flags

Flag Description
--kube-context <name> Name of the Kubernetes context to use
--namespace <name> Namespace to use for this operation

Repository management

Command Description
helm repo add <name> <url> Add a repository
helm repo list List all added repositories
helm repo update Update the local cache of available charts
helm repo remove <name> Remove a repository
helm search repo List all charts in the repositories
helm search repo <keyword> Search for a chart in the repositories

Installing Helm charts

Command Description
helm install <name> <chart> Install a chart with a name
helm install <chart> --generate-name Install, auto-generating a name
helm uninstall <name> Uninstall a release
helm uninstall <name> --keep-history Uninstall, keeping the history

Managing releases

Command Description
helm upgrade <name> <chart> Upgrade a release
helm rollback <release> <revision> Roll back to a revision
helm status <name> Show the status of a release

Install and upgrade flags

Flag Description
--set <key>=<value> Override individual values
--values <file> Read values from a file
--dry-run --debug Validate without installing
--verify Verify the package first
--dependency-update Update dependencies first
--atomic Roll back if the upgrade fails
--version <version> Use a specific chart version

Listing releases

Command Description
helm list List releases in the namespace
helm list --all-namespaces List releases in all namespaces
helm list -l <label>=<value> List releases with a specific label
helm list --date List releases sorted by date
helm list --pending Also --failed, --uninstalled

Developing charts

Command Description
helm create <name> Create a new chart
helm package <chart-path> Package a chart directory
helm lint <chart> Lint a chart
helm show all <chart> Inspect a chart, list resources
helm show values <chart> Inspect a chart, show its values
helm template <name> <chart> Render templates locally