Top HELM command with example usages.

Krishnendu Bhowmick
4 min readMar 27, 2023

--

Helm is a popular package manager for Kubernetes, used for deploying and managing applications on Kubernetes clusters. Helm provides a command-line interface (CLI) that enables users to manage their Kubernetes resources and deploy applications with ease. In this article, we will explore the top 50 Helm commands, along with examples of how to use them.

  1. helm install: This command installs a chart into your Kubernetes cluster. Example: helm install stable/mysql
  2. helm upgrade: This command upgrades a release to a new version. Example: helm upgrade my-release stable/mysql
  3. helm rollback: This command rolls back a release to a previous version. Example: helm rollback my-release 1
  4. helm list: This command lists all the releases in your Kubernetes cluster. Example: helm list
  5. helm delete: This command deletes a release from your Kubernetes cluster. Example: helm delete my-release
  6. helm search: This command searches for a chart in the Helm repository. Example: helm search wordpress
  7. helm repo add: This command adds a new Helm repository to your system. Example: helm repo add stable https://charts.helm.sh/stable
  8. helm repo update: This command updates the Helm repositories on your system. Example: helm repo update
  9. helm package: This command packages a chart into a compressed archive file. Example: helm package my-chart/
  10. helm lint: This command checks the syntax and style of a chart. Example: helm lint my-chart/
  11. helm template: This command generates Kubernetes YAML manifests from a chart. Example: helm template my-chart/
  12. helm dependency update: This command updates the dependencies of a chart. Example: helm dependency update my-chart/
  13. helm show chart: This command displays the chart metadata. Example: helm show chart stable/mysql
  14. helm show values: This command displays the default values of a chart. Example: helm show values stable/mysql
  15. helm show readme: This command displays the chart README file. Example: helm show readme stable/mysql
  16. helm history: This command displays the release history of a chart. Example: helm history my-release
  17. helm get values: This command displays the current values of a release. Example: helm get values my-release
  18. helm get manifest: This command displays the Kubernetes manifest of a release. Example: helm get manifest my-release
  19. helm get hooks: This command displays the hooks of a release. Example: helm get hooks my-release
  20. helm get notes: This command displays the release notes of a chart. Example: helm get notes my-release
  21. helm repo list: This command lists the Helm repositories on your system. Example: helm repo list
  22. helm repo remove: This command removes a Helm repository from your system. Example: helm repo remove stable
  23. helm dep build: This command builds the charts dependencies. Example: helm dep build my-chart/
  24. helm dep list: This command lists the dependencies of a chart. Example: helm dep list my-chart/
  25. helm dep update: This command updates the dependencies of a chart. Example: helm dep update my-chart/
  26. helm create: This command creates a new chart directory structure. Example: helm create my-chart
  27. helm install — set: This command installs a chart with custom values. Example: helm install my-release stable/mysql --set mysqlRootPassword=secretpassword
  28. helm install — values: This command installs a chart with values from a YAML file. Example: helm install my-release stable/mysql --values values.yaml
  29. helm install — dry-run: This command installs a chart without making any changes, to check if the installation is valid. Example: helm install my-release stable/mysql --dry-run
  30. helm install — debug: This command installs a chart in debug mode. Example: helm install my-release stable/mysql --debug
  31. helm install — wait: This command waits until all the resources are ready before marking the release as successful. Example: helm install my-release stable/mysql --wait
  32. helm install — timeout: This command sets a timeout value for the installation. Example: helm install my-release stable/mysql --timeout 600s
  33. helm repo add/update — username/ — password: This command adds or updates a Helm repository with a username and password. Example: helm repo add stable https://charts.helm.sh/stable --username myusername --password mypassword
  34. helm repo add/update — ca-file: This command adds or updates a Helm repository with a CA certificate file. Example: helm repo add stable https://charts.helm.sh/stable --ca-file ca.pem
  35. helm repo add/update — cert-file/ — key-file: This command adds or updates a Helm repository with a certificate and key file. Example: helm repo add stable https://charts.helm.sh/stable --cert-file cert.pem --key-file key.pem
  36. helm dependency build: This command builds the dependencies of a chart. Example: helm dependency build my-chart/
  37. helm dependency list: This command lists the dependencies of a chart. Example: helm dependency list my-chart/
  38. helm dependency update: This command updates the dependencies of a chart. Example: helm dependency update my-chart/
  39. helm fetch: This command downloads a chart from a repository and saves it to the local machine. Example: helm fetch stable/mysql
  40. helm plugin install: This command installs a Helm plugin. Example: helm plugin install https://github.com/chartmuseum/helm-push
  41. helm plugin list: This command lists the installed Helm plugins. Example: helm plugin list
  42. helm plugin remove: This command removes a Helm plugin. Example: helm plugin remove helm-push
  43. helm plugin update: This command updates a Helm plugin. Example: helm plugin update helm-push
  44. helm repo add/update — username/ — password: This command adds or updates a Helm repository with a username and password. Example: helm repo add stable https://charts.helm.sh/stable --username myusername --password mypassword
  45. helm repo add/update — ca-file: This command adds or updates a Helm repository with a CA certificate file. Example: helm repo add stable https://charts.helm.sh/stable --ca-file ca.pem
  46. helm rollback — recreate-pods: This command rolls back a release to a previous version and recreates the pods. Example: helm rollback my-release 1 --recreate-pods
  47. helm status: This command shows the status of a release. Example: helm status my-release
  48. helm test: This command runs the tests of a release. Example: helm test my-release
  49. helm version: This command shows the version of Helm. Example: helm version

That concludes our list of the top Helm commands, along with example

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Krishnendu Bhowmick
Krishnendu Bhowmick

Written by Krishnendu Bhowmick

Site Reliability Engineering | Devops Practitioner | Open Source Advocate | Cloud Enthusiastic

No responses yet

Write a response