Skip to main content
Cloud & DevOps

Helm Kubernetes Package Manager

Production

Helm 3 chart repositories, declarative values overrides, release lifecycles, template rendering, and rollback procedures.

Instant Copy & SearchProduction Flagged SyntaxCurrent Flag Reference

Helm Kubernetes Package Manager Interactive Command Directory

Browse, search, and copy battle-tested commands & syntax recipes (16 Total Commands).

16+ Verified Recipes
Repository Managementrepo add, repo update
helm repo add bitnami https://charts.bitnami.com/bitnami && helm repo update

Register a remote Helm chart repository and synchronize local index cache.

Idempotent Deploymentupgrade --install, -f, --namespace
helm upgrade --install my-redis bitnami/redis -f values.yaml --namespace data --create-namespace

Install or upgrade release with custom values overrides, creating namespace if absent.

List Releases-A, --date
helm list -A --date

List all active Helm releases across all namespaces sorted by deployment timestamp.

Rollbackrollback <release> <rev>
helm rollback my-redis 2 -n data

Roll back a misconfigured release to a previous stable revision number.

Template Debuggingtemplate, --debug
helm template my-redis bitnami/redis -f values.yaml --debug > rendered.yaml

Render chart templates locally without connecting to the cluster to verify generated manifests.

Value Inspectionget values --all
helm get values my-redis -n data --all

Inspect all user-supplied and computed default values of an active release.

Release Statusstatus
helm status my-redis -n data

Display current status, notes, and resources associated with an installed chart.

Uninstallinguninstall
helm uninstall my-redis -n data

Remove release from cluster and purge all associated pods, services, and configs.

Atomic Upgrades--atomic --timeout
helm upgrade --install my-release ./my-chart --namespace prod --create-namespace --atomic --timeout 5m

Install or upgrade a release with atomic rollback: if pods fail readiness probes within 5 minutes, Helm automatically reverts changes.

Diff Previewdiff upgrade
helm diff upgrade my-release ./my-chart -f values.prod.yaml

Preview a colorized git-style diff of Kubernetes resource changes before executing the release upgrade.

Template Renderingtemplate -f
helm template my-release ./my-chart -f values.prod.yaml > compiled-manifests.yaml

Render chart templates locally into raw Kubernetes YAML manifests without communicating with the cluster API server.

Chart Lintinglint --strict
helm lint ./my-chart --strict

Analyze chart structure, verify values.yaml syntax, and check Chart.yaml metadata against packaging best practices.

Packaging & Versioningpackage --version
helm package ./my-chart --version 1.2.0 --app-version 2.0.1

Package chart directory into a versioned .tgz archive for publishing to an OCI registry or chart repository.

OCI Registry Pushpush oci://
helm push my-chart-1.2.0.tgz oci://123456789012.dkr.ecr.us-east-1.amazonaws.com/helm

Push a packaged Helm chart directly to an OCI compliant container registry like Amazon ECR or Harbor.

Rollbackrollback <release> <rev>
helm rollback my-release 3 --namespace prod

Rollback a deployed release to a specific previous revision number, triggering rolling pod recreation.

Release Historyhistory
helm history my-release -n prod

List all historical revisions, deployment timestamps, statuses, and chart versions for a release.

Zero Setup100% In-Browser Execution

Companion Developer Tools & Playgrounds

Accelerate command execution and syntax debugging with HelloAIHub suite of interactive tools.

Explore all developer tools

Helm Kubernetes Package Manager: Command Groups & Quick Index

16 indexed entries across 15 sections
Repository Management1 items
Idempotent Deployment1 items
List Releases1 items
Rollback2 items
Template Debugging1 items
Value Inspection1 items
Release Status1 items
Uninstalling1 items
Atomic Upgrades1 items
Diff Preview1 items
Template Rendering1 items
Chart Linting1 items
Packaging & Versioning1 items
OCI Registry Push1 items
Release History1 items

Highlighted Flags & Syntax Examples in Helm Kubernetes Package Manager

helm repo add bitnami https://charts.bitnami.com/bitnami && helm repo update

Register a remote Helm chart repository and synchronize local index cache.

Flags: repo add, repo update
helm upgrade --install my-redis bitnami/redis -f values.yaml --namespace data --create-namespace

Install or upgrade release with custom values overrides, creating namespace if absent.

Flags: upgrade --install, -f, --namespace
helm list -A --date

List all active Helm releases across all namespaces sorted by deployment timestamp.

Flags: -A, --date
helm rollback my-redis 2 -n data

Roll back a misconfigured release to a previous stable revision number.

Flags: rollback <release> <rev>

Frequently Asked Questions

Expert recommendations, common traps, and production best practices for Helm Kubernetes Package Manager.

How does Helm 3 differ architecturally from Helm 2?

Helm 3 completely eliminated Tiller (the in-cluster server component that required cluster-admin privileges), switching to a client-only architecture that leverages Kubernetes native RBAC and stores release state in cluster Secrets.

What happens to PersistentVolumeClaims when running helm uninstall?

By default, Helm charts typically flag PersistentVolumeClaims with keep annotations or leave them intact to protect data against accidental loss. You must manually delete PVCs if storage reclamation is desired.

Where does Helm store release state in Kubernetes?

Unlike Helm v2 which used the Tiller server daemon, Helm v3 stores release state directly inside the cluster as encrypted Kubernetes Secrets in the target namespace (named sh.helm.release.v1.<release-name>.v<revision>).

What is the difference between Helm values.yaml and --set flags?

values.yaml provides default configuration variables checked into version control. The --set or -f values.env.yaml flags override defaults during deployment time. In production CI/CD, prefer committed values files over long lists of CLI --set flags to maintain an auditable configuration trail.

What are Helm chart hooks and when should they be used?

Hooks allow chart authors to intervene at specific points in a release lifecycle (e.g. pre-install, post-upgrade, pre-delete). A common use case is executing a database migration Kubernetes Job via helm.sh/hook: pre-upgrade before rolling out new application pods.

How can I test Helm charts in unit tests?

You can use helm-unittest, a popular plugin that executes unit test suites written in pure YAML against your templates, validating conditional logic, label inheritance, and schema defaults without requiring a live cluster.

Cross-Hub Skill Acceleration

Combine command lookups with active coding interviews and complete career paths.

Need More Cheat Sheets?

Explore developer cheat sheets and syntax guides on HelloAIHub.

Browse All Cheat Sheets