Helm Cheat Sheet

Package and manage Kubernetes applications as charts — templated releases with their own release history.

Kubernetes4 sections · 29 commands
⌘K

Repositories

6
helm repo add NAME URL

Add a chart repository

helm repo update

Refresh local repo cache

helm repo list

List configured repos

helm repo remove NAME

Remove a repository

helm search repo NAME

Search charts in repos

helm search hub NAME

Search the artifact hub

Install & Upgrade

10
helm install REL-NAME CHART

Install a release

helm install REL-NAME CHART --namespace NS --create-namespace

Install into a namespace

helm install REL-NAME CHART --values values.yaml

Install with custom values

helm install REL-NAME CHART --set image.tag=v2

Override one value

helm upgrade REL-NAME CHART

Upgrade a release

helm upgrade --install REL-NAME CHART

Install or upgrade (idempotent)

helm upgrade REL-NAME CHART -f new-values.yaml

Apply new values on upgrade

helm uninstall REL-NAME

Delete a release

helm status REL-NAME

Release status and notes

helm history REL-NAME

All revisions of a release

Templates & Values

8
helm template REL-NAME CHART

Render YAML locally without installing

helm lint CHART

Validate chart structure and values

helm get values REL-NAME

Show the values of a release

helm get manifest REL-NAME

The rendered Kubernetes objects

helm create CHARTNAME

Scaffold a new chart

helm show values CHART

Default values of a chart

helm show chart CHART

Chart metadata

helm dependency update

Fetch chart dependencies

Rollback

5
helm rollback REL-NAME REVISION

Roll back to a revision

helm rollback REL-NAME 0

Rollback the previous revision

helm list --all-namespaces

Every release in the cluster

helm list -d

Releases with deployment date

helm list --uninstalled

Recently uninstalled releases