Top HELM command with example usages.

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.
- helm install: This command installs a chart into your Kubernetes cluster. Example:
helm install stable/mysql
- helm upgrade: This command upgrades a release to a new version. Example:
helm upgrade my-release stable/mysql
- helm rollback: This command rolls back a release to a previous version. Example:
helm rollback my-release 1
- helm list: This command lists all the releases in your Kubernetes cluster. Example:
helm list
- helm delete: This command deletes a release from your Kubernetes cluster. Example:
helm delete my-release
- helm search: This command searches for a chart in the Helm repository. Example:
helm search wordpress
- helm repo add: This command adds a new Helm repository to your system. Example:
helm repo add stable https://charts.helm.sh/stable
- helm repo update: This command updates the Helm repositories on your system. Example:
helm repo update
- helm package: This command packages a chart into a compressed archive file. Example:
helm package my-chart/
- helm lint: This command checks the syntax and style of a chart. Example:
helm lint my-chart/
- helm template: This command generates Kubernetes YAML manifests from a chart. Example:
helm template my-chart/
- helm dependency update: This command updates the dependencies of a chart. Example:
helm dependency update my-chart/
- helm show chart: This command displays the chart metadata. Example:
helm show chart stable/mysql
- helm show values: This command displays the default values of a chart. Example:
helm show values stable/mysql
- helm show readme: This command displays the chart README file. Example:
helm show readme stable/mysql
- helm history: This command displays the release history of a chart. Example:
helm history my-release
- helm get values: This command displays the current values of a release. Example:
helm get values my-release
- helm get manifest: This command displays the Kubernetes manifest of a release. Example:
helm get manifest my-release
- helm get hooks: This command displays the hooks of a release. Example:
helm get hooks my-release
- helm get notes: This command displays the release notes of a chart. Example:
helm get notes my-release
- helm repo list: This command lists the Helm repositories on your system. Example:
helm repo list
- helm repo remove: This command removes a Helm repository from your system. Example:
helm repo remove stable
- helm dep build: This command builds the charts dependencies. Example:
helm dep build my-chart/
- helm dep list: This command lists the dependencies of a chart. Example:
helm dep list my-chart/
- helm dep update: This command updates the dependencies of a chart. Example:
helm dep update my-chart/
- helm create: This command creates a new chart directory structure. Example:
helm create my-chart
- helm install — set: This command installs a chart with custom values. Example:
helm install my-release stable/mysql --set mysqlRootPassword=secretpassword
- helm install — values: This command installs a chart with values from a YAML file. Example:
helm install my-release stable/mysql --values values.yaml
- 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
- helm install — debug: This command installs a chart in debug mode. Example:
helm install my-release stable/mysql --debug
- 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
- helm install — timeout: This command sets a timeout value for the installation. Example:
helm install my-release stable/mysql --timeout 600s
- 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
- 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
- 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
- helm dependency build: This command builds the dependencies of a chart. Example:
helm dependency build my-chart/
- helm dependency list: This command lists the dependencies of a chart. Example:
helm dependency list my-chart/
- helm dependency update: This command updates the dependencies of a chart. Example:
helm dependency update my-chart/
- helm fetch: This command downloads a chart from a repository and saves it to the local machine. Example:
helm fetch stable/mysql
- helm plugin install: This command installs a Helm plugin. Example:
helm plugin install https://github.com/chartmuseum/helm-push
- helm plugin list: This command lists the installed Helm plugins. Example:
helm plugin list
- helm plugin remove: This command removes a Helm plugin. Example:
helm plugin remove helm-push
- helm plugin update: This command updates a Helm plugin. Example:
helm plugin update helm-push
- 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
- 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
- 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
- helm status: This command shows the status of a release. Example:
helm status my-release
- helm test: This command runs the tests of a release. Example:
helm test my-release
- helm version: This command shows the version of Helm. Example:
helm version
That concludes our list of the top Helm commands, along with example