Helm
The package manager for Kubernetes — versioned, templated chart releases.
Official docsRepositories
helm repo add bitnami https://charts.bitnami.com/bitnamiAdd a chart repo.
helm repo updateFetch the latest index from every added repo. Run before install/upgrade.
helm repo listShow added repos + URLs.
helm search repo nginxSearch every added repo for a chart.
helm search hub nginxSearch Artifact Hub (the public registry of public charts).
Install, upgrade & rollback
helm install my-app bitnami/nginxInstall a chart with release name `my-app`.
helm upgrade --install my-app bitnami/nginx -f values.yamlThe idempotent way: install if missing, upgrade if present. Use this in CI.
helm upgrade my-app bitnami/nginx --set image.tag=1.27Override a value on the command line.
helm rollback my-app 1Roll back to revision 1.
helm uninstall my-appRemove a release. --keep-history to keep revision metadata.
Inspect releases
helm listList releases in the current namespace. -A across all namespaces.
helm status my-appStatus, last-deployed, notes for a release.
helm history my-appRevision history for a release.
helm get values my-appValues that were merged in for the active revision. -a for all (incl. defaults).
helm get manifest my-appThe full rendered manifest k8s actually received.
Chart authoring
helm create my-chartScaffold a new chart with sensible defaults.
helm template my-chartRender the chart to stdout without talking to k8s — fast feedback loop while editing templates.
helm lint my-chartCatch common mistakes before install.
helm package my-chartBundle a chart into a versioned tgz.
helm dependency update my-chartPull subcharts declared in Chart.yaml's dependencies.