Tool cheatsheet
Helm 4 Cheatsheet
Install, upgrade, inspect and roll back Kubernetes applications packaged as Helm charts.
Repositories and charts
- Check the Helm version — Print the Helm client version.
- Add a chart repository — Register a repository of charts.
- Update repository indexes — Fetch the latest list of charts from your repositories.
- Search for a chart — Search the repositories you have added.
- See a chart's default values — Print the values.yaml of a chart so you know what you can set.
- Download a chart — Download and unpack a chart to inspect it.
Install and upgrade
- Install a chart — Install a chart as a release in a new namespace.
- Install with a values file — Override default values with your own file.
- Override a single value — Set a value on the command line.
- Install or upgrade — Upgrade a release, creating it if it does not exist. The usual command in CI.
- Upgrade and roll back on failure — Wait for the release to become ready and roll back automatically if it fails.
- Roll back a release — Return to an earlier revision. Find revisions with helm history.
- Uninstall a release — Remove a release and the resources it created.
Inspecting releases
- List releases — Show releases in all namespaces.
- Show release status — Show the status and notes of a release.
- Show release history — List the revisions of a release.
- See values in use — Print the values the release was installed with. Add --all for computed defaults too.
- See the deployed manifests — Print the Kubernetes manifests of a release.
Writing charts
- Create a chart — Create a new chart with the standard layout.
- Lint a chart — Check a chart for problems.
- Render templates locally — Render the manifests without installing anything.
- Dry-run an install — Simulate an install against the cluster and print the result.
- Update chart dependencies — Download the charts listed in Chart.yaml.
- Package a chart — Create a versioned .tgz archive of a chart.
Related cheatsheets
- Ansible 2 cheatsheet — Run ad-hoc commands and playbooks, manage inventories, roles, collections and secrets with Ansible.
- Argo CD 3 cheatsheet — Install Argo CD, define Applications declaratively, and manage sync, diffs, history and rollbacks with the argocd CLI.
- AWS CLI 2 cheatsheet — Configure credentials and manage S3, EC2, Lambda, logs, containers and secrets with the AWS CLI v2.
- Azure CLI 2 cheatsheet — Sign in and manage resource groups, VMs, web apps, storage, Kubernetes, registries and secrets with the az command.
- Bash and Linux 5 cheatsheet — Everyday shell and Linux commands for files, searching text, permissions, processes and servers.
- Claude API cheatsheet — Call Claude from Python, TypeScript or curl: messages, streaming, thinking, tools, structured output, caching, batches and error handling.