List all releases across namespaces
Lists all Helm deployments in the cluster.
helm ls --all-namespaces
14 commands from the cloud runbook. Fill in a placeholder once and every command uses it.
Lists all Helm deployments in the cluster.
helm ls --all-namespaces
Rolls back a Helm deployment to a specific prior revision.
helm rollback <release-name> <revision-number>
Fetches the values.yaml that was actually applied to a deployed release.
helm get values <release-name>
Installs a helm chart, or upgrades it if it already exists.
helm upgrade --install <release-name> <chart-path>
Renders the chart templates locally without applying them to the cluster.
helm template <release-name> <chart-path>
Adds a chart repository to Helm's local repo list.
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts && helm repo update
Prints the default values.yaml of a chart before installing.
helm show values <chart-name>
Shows the revision history and status of a Helm release.
helm history <release-name>
Removes all resources associated with a Helm release.
Caution. Deletes every resource in the release. Add --keep-history to keep the release record for a later rollback.
helm uninstall <release-name> --namespace <namespace>
Validates a chart for possible issues before deploying.
helm lint ./my-chart
Prints the rendered Kubernetes manifests Helm applied for a release.
helm get manifest <release-name> -n <namespace>
Upgrades a release, waits for it to become ready and rolls back automatically if it doesn't.
helm upgrade --install <release-name> <chart-path> -n <namespace> --atomic --wait --timeout 5m
Helm 4 renamed --atomic to --rollback-on-failure.
Pulls a chart version and unpacks it locally so you can read its templates and values.
helm pull <helm-repo>/<chart> --version <version> --untar
Shows what an upgrade would change in the cluster before you run it.
helm diff upgrade <release-name> <chart-path> -n <namespace>
Needs the helm-diff plugin: helm plugin install https://github.com/databus23/helm-diff