Packaging / Kubernetes
Helm
DevOpsTool
A Kubernetes package manager that bundles manifests into versioned charts and renders them with configurable values.
Problem it solves
Why it exists.
It solves the repetition and drift of maintaining many related Kubernetes manifests by packaging them into reusable releases.
Optimized for
Where it shines.
Deploying repeatable Kubernetes applications across environments with shared templates and environment-specific values.
Use with care
Where not to use it.
Do not use it to hide complex application behavior, replace GitOps policy, or template every YAML file without a clear chart boundary.
Components
What it is made of.
- Chart
- Templates
- Values
- Release history
- Repositories
Process
How it works.
- A chart defines reusable Kubernetes templates
- Values customize the target environment
- Helm renders and installs the release
- Upgrades and rollbacks use the release history
Command reference
Helm commands.
Examples use a local chart named my-app and a release named demo. Replace the example repository URL, names, paths, and revision with your own. Cluster commands use your current Kubernetes context.
Official Helm command reference ↗
| Command | Purpose | Example |
|---|---|---|
helm version | Check the installed version. | helm version |
helm repo add | Register a chart repository. | helm repo add example https://charts.example.com |
helm repo update | Refresh repository indexes. | helm repo update |
helm repo list | List configured repositories. | helm repo list |
helm search repo | Find charts in registered repositories. | helm search repo example --versions |
helm show values | Inspect a chart’s default values. | helm show values ./my-app |
helm create | Scaffold a chart. | helm create my-app |
helm lint | Check chart structure and templates. | helm lint ./my-app |
helm template | Render manifests locally. | helm template demo ./my-app -f values.yaml |
helm install | Create a release. | helm install demo ./my-app -n demo --create-namespace -f values.yaml --wait |
helm upgrade --install | Update a release or install it if absent. | helm upgrade --install demo ./my-app -n demo --create-namespace -f values.yaml --wait |
helm list | List releases across namespaces. | helm list -A |
helm status | Inspect release status. | helm status demo -n demo |
helm get values | Inspect computed release values. | helm get values demo -n demo --all |
helm get manifest | Read installed release manifests. | helm get manifest demo -n demo |
helm history | List release revisions. | helm history demo -n demo |
helm rollback | Restore a previous revision. | helm rollback demo 1 -n demo --wait |
helm test | Run the chart’s release tests. | helm test demo -n demo |
helm dependency update | Resolve dependencies and refresh the lockfile. | helm dependency update ./my-app |
helm dependency build | Restore dependencies from the lockfile. | helm dependency build ./my-app |
helm package | Create a chart archive. | helm package ./my-app |
helm pull | Download and extract a chart. | helm pull example/my-app --untar |
helm uninstall | Remove a release and its managed resources. | helm uninstall demo -n demo |