Installing Charts
1. Installing Chart from Repository
Example: Install from added repo
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
helm install myrelease bitnami/nginx --version 18.0.0 -n web --create-namespace
2. Installing from Local Path
3. Installing from URL
| Source | Command |
|---|---|
| HTTP tarball | helm install api https://example.com/charts/api-1.0.0.tgz |
| OCI ref | helm install api oci://ghcr.io/acme/charts/api --version 1.0.0 |
4. Installing from Archive
5. Generating Release Name
| Command | Result |
|---|---|
helm install --generate-name ./chart | Auto-generated name like chart-1700000000 |
6. Setting Custom Release Name
| Form | Rules |
|---|---|
helm install <name> <chart> | DNS-1123 label (lowercase, digits, dashes), ≤53 chars |
7. Installing in Specific Namespace
| Flag | Behavior |
|---|---|
-n <ns> / --namespace | Target namespace for release |
--create-namespace | Create namespace if missing |
8. Creating Namespace
9. Using Dry Run Mode
| Flag | Behavior |
|---|---|
--dry-run | Render + validate; no cluster changes |
--dry-run=server 3.13+ | Server-side dry run (uses live admission webhooks) |
--debug | Verbose render output |
10. Waiting for Resources
| Flag | Effect |
|---|---|
--wait | Wait until all resources are Ready |
--wait-for-jobs | Also wait for Jobs to complete |
--atomic | --wait + auto-rollback on failure |
11. Setting Wait Timeout
| Flag | Default |
|---|---|
--timeout 10m | 5m |
| Format | Go duration (30s, 5m, 1h) |