Helm

The Package Manager for Kubernetes. Stop copy-pasting raw YAML files. Package your app into a Chart, configure it with Values, and deploy it as a Release.

đŸ“Ļ Core Concepts

đŸ—ēī¸ The Chart

The Package. A folder containing templates (deployment.yaml, service.yaml). Think of it like a "Recipe" or an ".exe" installer.

âš™ī¸ The Values

The Configuration. A simple file (values.yaml) where you tweak settings (e.g., color: blue, replicas: 5) without touching the complex code.

🚀 The Release

The Instance. When you install a Chart, it creates a "Release". You can install the same chart 5 times to get 5 different Releases.

đŸ•šī¸ Helm Simulator

Mission: Install the "MyApp" chart. Then, change the version and upgrade. Finally, realize you made a mistake and rollback.

values.yaml (User Config)
app_name:
version:
replicas:
env:
â˜¸ī¸

Release History (Revisions)

No release installed.

đŸ’ģ Essential Commands

install

helm install [name] [chart]

Deploys the application for the first time.

upgrade

helm upgrade [name] [chart]

Applies changes from values.yaml. Creates a new Revision.

rollback

helm rollback [name] [rev]

Undo! Reverts to a previous revision instantly if the new one breaks.

list

helm list

Shows all running releases in the current namespace.