Helm Command Reference
Helm Chart Management Commands
Helm is the package manager for Kubernetes. It helps you define, install, and upgrade even the most complex Kubernetes applications. This reference guide provides essential Helm commands for managing charts and repositories effectively.
Helm Repository Management
Manage your Helm chart repositories to access and update available charts.
Command | Description |
---|---|
helm repo list |
List all configured Helm repositories. |
helm repo update |
Update the local cache of available charts from all configured repositories. |
Helm Chart Discovery and Inspection
Search for charts and inspect their values to understand their configuration options.
Command | Description |
---|---|
helm search repo <keyword> |
Search for charts in all configured repositories. |
helm search hub <keyword> |
Search for charts on Artifact Hub. |
helm inspect values <repo>/<chart> |
Inspect the default values file of a specific chart. |
Installing and Deleting Helm Charts
Deploy applications to your Kubernetes cluster using Helm charts and remove them when no longer needed.
Command | Description |
---|---|
helm install <release-name> <chart> |
Install a Helm chart and create a release. |
helm install <release-name> -f <values.yaml> <chart> |
Install a Helm chart with custom values from a file. |
helm status <release-name> |
Display the status of a deployed Helm release. |
helm uninstall <release-name> |
Uninstall a Helm release and its associated resources. |
Upgrading and Rolling Back Helm Charts
Manage the lifecycle of your deployed applications by upgrading to new versions or rolling back to previous states.
Command | Description |
---|---|
helm get values <release-name> |
Retrieve the values used for a specific Helm release. |
helm upgrade <release-name> <chart> |
Upgrade an existing Helm release to a new chart version or updated values. |
helm upgrade <release-name> -f <values.yaml> <chart> |
Upgrade a Helm release with custom values from a file. |
helm history <release-name> |
List the revision history of a Helm release. |
helm rollback <release-name> <revision-number> |
Rollback a Helm release to a specific revision. |
Creating and Packaging Helm Charts
Develop and package your own Kubernetes applications as Helm charts for easy deployment and sharing.
Command | Description |
---|---|
helm create <chart-name> |
Create a new Helm chart with a standard directory structure. |
helm lint <chart-path> |
Check Helm charts for syntax errors and adherence to best practices. |
helm package <chart-path> |
Package a Helm chart directory into a versioned chart archive (.tgz). |
helm dependency update <chart-path> |
Install or update chart dependencies defined in the Chart.yaml file. |
For more in-depth information on Helm and its capabilities, refer to the official Helm documentation and the Artifact Hub for discovering charts.