SadServers
  • Scenarios
  • Labs
    All Labs Linux & Bash Web Servers Databases Data Processing Docker Kubernetes CI/CD Infrastructure as Code Tooling / Applications
  • Dashboard
  • Solutions
    For Individuals For Businesses
  • Ranking
  • Newsletter
  • Documentation
    FAQ Support Pro Accounts Pro+ Accounts Business Accounts Gift API CLI/TUI Privacy Troubleshooting Interviews
  • Blog
  • Pricing
  • Gift
    Gift Purchase Gift Redeem
  • About
Log In - Sign Up
  1. Labs
  2. Helm
  3. Cheatsheet

Guide

Concepts and learning path

Troubleshooting

Failure modes and fixes

Cheatsheet

Commands to keep handy

Helm cheatsheet

Repositories

CommandDescription
helm repo add NAME URLAdd chart repository
helm repo updateRefresh repo indexes
helm search repo KEYWORDSearch available charts
helm repo listList configured repos

Install and upgrade

CommandDescription
helm install RELEASE CHART -n NSInstall chart
helm upgrade --install RELEASE CHART -n NSInstall or upgrade (idempotent)
helm upgrade RELEASE CHART -f values.yaml -n NSUpgrade with values file
helm upgrade RELEASE CHART --set key=val -n NSInline value override
helm uninstall RELEASE -n NSRemove release and resources

Release status and history

CommandDescription
helm list -n NSReleases in namespace
helm list -AAll namespaces
helm status RELEASE -n NSRelease state and resources
helm history RELEASE -n NSRevision list
helm rollback RELEASE REV -n NSRoll back to revision
helm get values RELEASE -n NSEffective values
helm get manifest RELEASE -n NSRendered manifests

Dry-run and render (safe preview)

helm template RELEASE ./chart -f values.yaml -n NS helm install RELEASE CHART -f values.yaml --dry-run=server -n NS helm lint ./chart helm show values bitnami/nginx

OCI charts

helm install RELEASE oci://registry.example.com/charts/myapp --version 1.0.0 -n NS helm push mychart-1.0.0.tgz oci://registry.example.com/charts

Chart development

CommandDescription
helm create mychartScaffold new chart
helm package ./mychartBuild chart tarball
helm dependency update ./mychartFetch subchart deps
helm test RELEASE -n NSRun chart test hooks

After install — kubectl helpers

# Pods from a Helm release (standard labels) kubectl get pods -n NS -l app.kubernetes.io/instance=RELEASE # Logs across release pods (krew stern) stern -l app.kubernetes.io/instance=RELEASE -n NS # Ownership tree (krew tree) kubectl tree deploy -l app.kubernetes.io/instance=RELEASE -n NS

Example values.yaml

replicaCount: 3 image: repository: myapp tag: "2.1.0" pullPolicy: IfNotPresent service: type: ClusterIP port: 80 resources: limits: memory: 256Mi

Pro tips

  • Prefer helm upgrade --install in CI/CD — safe to re-run
  • Always helm template or --dry-run=server before risky upgrades
  • helm history + helm rollback are your fastest undo
  • Failed release? Check pods with Kubernetes lab tools
  • Pin chart --version — do not rely on implicit latest from repo

Practice scenarios

Hands-on Helm scenarios on live Linux VMs: helm

SadServersSadServers

Real-world Linux and DevOps scenarios for hands-on learning and technical assessment.

Uptime Robot ratio (30 days)
Product
  • Scenarios
  • For Individuals
  • For Businesses
  • Pricing
Resources
  • FAQ
  • Blog
  • Newsletter
Company
  • About Us
  • Support
  • Privacy Policy
  • Terms of Service
  • Contact
Connect With Us
info@sadservers.com

Made in Canada 🇨🇦
Updated: 2026-06-13 16:06 UTC – 2d2950a