Javad Zahrabi

Helm

The package manager for Kubernetes — versioned, templated chart releases.

Official docs

Repositories

  • helm repo add bitnami https://charts.bitnami.com/bitnami

    Add a chart repo.

  • helm repo update

    Fetch the latest index from every added repo. Run before install/upgrade.

  • helm repo list

    Show added repos + URLs.

  • helm search repo nginx

    Search every added repo for a chart.

  • helm search hub nginx

    Search Artifact Hub (the public registry of public charts).

Install, upgrade & rollback

  • helm install my-app bitnami/nginx

    Install a chart with release name `my-app`.

  • helm upgrade --install my-app bitnami/nginx -f values.yaml

    The idempotent way: install if missing, upgrade if present. Use this in CI.

  • helm upgrade my-app bitnami/nginx --set image.tag=1.27

    Override a value on the command line.

  • helm rollback my-app 1

    Roll back to revision 1.

  • helm uninstall my-app

    Remove a release. --keep-history to keep revision metadata.

Inspect releases

  • helm list

    List releases in the current namespace. -A across all namespaces.

  • helm status my-app

    Status, last-deployed, notes for a release.

  • helm history my-app

    Revision history for a release.

  • helm get values my-app

    Values that were merged in for the active revision. -a for all (incl. defaults).

  • helm get manifest my-app

    The full rendered manifest k8s actually received.

Chart authoring

  • helm create my-chart

    Scaffold a new chart with sensible defaults.

  • helm template my-chart

    Render the chart to stdout without talking to k8s — fast feedback loop while editing templates.

  • helm lint my-chart

    Catch common mistakes before install.

  • helm package my-chart

    Bundle a chart into a versioned tgz.

  • helm dependency update my-chart

    Pull subcharts declared in Chart.yaml's dependencies.