Helm Basics
Install and upgrade third-party apps with Helm charts.
- helm install
- helm upgrade
- helm rollback
- charts
- values.yaml
Helm Basics
Install and upgrade third-party apps with Helm charts.
Commands
| Command | What it does |
|---|---|
helm repo add bitnami https://charts.bitnami.com/bitnami | Add a chart repo |
helm install shop-redis bitnami/redis -n shop --create-namespace | Install a release |
helm list -A | All releases everywhere |
helm upgrade shop-redis bitnami/redis -f values.yaml | Upgrade with custom values |
helm rollback shop-redis 1 | Roll back to revision 1 |
Example
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
helm install shop-redis bitnami/redis -n shop --create-namespace
FAQ
Where do my custom values go?
A values.yaml passed with -f (or --set flags); never edit chart defaults in place — upgrades would wipe them.
How do I cleanly remove everything?
helm uninstall <release> -n <ns>, then delete the namespace if Helm created it.
よくある質問
Where do my custom values go?
A values.yaml passed with -f (or --set flags); never edit chart defaults in place — upgrades would wipe them.
How do I cleanly remove everything?
helm uninstall <release> -n <ns>, then delete the namespace if Helm created it.
Kubernetes
Kubectl Config and Context
Point kubectl at the right cluster and switch contexts safely.
Kubectl Pods
Inspect pods, describe failures, and get a shell inside.
Kubectl Deployments
Create, update, and inspect Deployments that own your pods.
Kubectl Services
Expose pods stably with ClusterIP, NodePort, and LoadBalancer.