Batch 01 · Aarambh — AWS + Agentic AI starts 28 June 2026Batch 01 · Aarambh — AWS + Agentic AI starts 28 June 2026Batch 01 · Aarambh — AWS + Agentic AI starts 28 June 2026Batch 01 · Aarambh — AWS + Agentic AI starts 28 June 2026Batch 01 · Aarambh — AWS + Agentic AI starts 28 June 2026Batch 01 · Aarambh — AWS + Agentic AI starts 28 June 2026Batch 01 · Aarambh — AWS + Agentic AI starts 28 June 2026Batch 01 · Aarambh — AWS + Agentic AI starts 28 June 2026
All cheatsheets
Kubernetes · Cheatsheet

Helm 3 Cheatsheet

Install, upgrade, rollback, template, debug. Plus chart authoring, dependencies, OCI registries, and the must-have lint/test commands.

Updated 2026-05-21 8 min

Repos & search

helm repo add bitnami https://charts.bitnami.com/bitnamiAdd a repo
helm repo updateRefresh index
helm search repo nginxSearch added repos
helm search hub prometheusSearch Artifact Hub (all public)
helm repo remove bitnamiRemove

Install & upgrade

helm install api ./chart -n prod --create-namespaceInstall in a namespace
helm upgrade --install api ./chart -f values-prod.yamlIdempotent — installs or upgrades
helm upgrade api ./chart --set image.tag=1.2.3Override single value
helm upgrade api ./chart --atomic --timeout 5mAuto-rollback on failure
helm upgrade api ./chart --wait --wait-for-jobsBlock until pods Ready
helm install api ./chart --dry-run --debugRender + validate without applying

Inspect & history

helm list -AAll releases, all namespaces
helm status api -n prodCurrent release status
helm get values api -n prodUser-supplied values
helm get values api -n prod --allAll values (incl. chart defaults)
helm get manifest api -n prodRendered YAML
helm history api -n prodRevision history

Rollback & uninstall

helm rollback api 3 -n prodRoll back to revision 3
helm rollback api 0 -n prodRoll back to previous
helm uninstall api -n prodRemove release (keeps history secret)
helm uninstall api -n prod --keep-historyDelete but keep history

Chart authoring

helm create my-chartScaffold a new chart
helm template api ./chart -f values-prod.yamlRender locally (no cluster)
helm lint ./chartStatic checks
helm package ./chart -d ./distBuild .tgz
helm dependency update ./chartPull chart dependencies
helm test api -n prodRun helm test hooks (post-install validation)

OCI registries (Helm 3.8+)

helm registry login ghcr.io -u USERLogin to OCI registry
helm push api-1.0.0.tgz oci://ghcr.io/org/chartsPush chart as OCI artifact
helm install api oci://ghcr.io/org/charts/api --version 1.0.0Install directly from OCI
aws ecr get-login-password | helm registry login --username AWS --password-stdin <acct>.dkr.ecr.<region>.amazonaws.comECR as Helm registry

Templating tips

{{ .Values.image.tag | default .Chart.AppVersion }}Fallback to Chart.AppVersion
{{- include "chart.fullname" . }}Reuse a named template (helpers.tpl)
{{- range .Values.env }}Iterate a list value
{{- toYaml .Values.resources | nindent 4 }}Inline YAML map with indent
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1" }}Cluster capability gate
{{- required ".Values.image.repository is required" .Values.image.repository }}Fail fast on missing input

Want the full hands-on training behind this?

Cloudadhar batches walk you through every command in a real production setup — with labs, code reviews, and 1:1 doubt sessions.