```bash -helm create chart-test ## this would create a helm +helm create chart-test ## this creates a basic helm chart ```
```bash -helm install -f myvalues.yaml myredis ./redis +helm repo add bitnami https://charts.bitnami.com/bitnami +``` + +Show the list of installed repositories: +```bash +helm repo list ```
+Add, list, remove, update and index chart repos + ```bash -helm list --pending -A +helm repo add [NAME] [URL] [flags] + +helm repo list / helm repo ls + +helm repo remove [REPO1] [flags] + +helm repo update / helm repo up + +helm repo update [REPO1] [flags] + +helm repo index [DIR] [flags] ```
+Search all installed repositories for a chart + ```bash -helm uninstall -n namespace release_name +helm search repo [keyword] ```
```bash -helm upgrade -f myvalues.yaml -f override.yaml redis ./redis +helm pull [chart URL | repo/chartname] [...] [flags] ## this would download a chart, but not install it +helm pull --untar [repo/chartname] # untar the chart after downloading it (does not create a release) ```
-Add, list, remove, update and index chart repos +Create a release, creating the resources defined in the chart ```bash -helm repo add [NAME] [URL] [flags] - -helm repo list / helm repo ls +helm install -f myvalues.yaml myredis ./redis # creates a release from a local chart +helm install [releasename] [repo/chartname] # creates a release from a chart in a repo +# Example: helm install my-app bitnami/nginx +``` -helm repo remove [REPO1] [flags] +
+-helm repo index [DIR] [flags] +```bash +helm list --pending -A ```
```bash -helm pull [chart URL | repo/chartname] [...] [flags] ## this would download a helm, not install -helm pull --untar [rep/chartname] # untar the chart after downloading it +helm uninstall -n namespace releasename ```
- + ```bash -helm repo add bitnami https://charts.bitnami.com/bitnami +helm upgrade [releasename] [repo/chartname] # Upgrade a chart from a repository +helm upgrade -f myvalues.yaml -f override.yaml redis ./redis # Upgrade a local chart from a file ``` - +
- + ```bash -helm show values bitnami/node +helm show values [repo/chartname] ``` - +