From 430eb483386d18095871b611b4cee339b0016577 Mon Sep 17 00:00:00 2001 From: Lachlan Evenson Date: Fri, 13 Dec 2019 14:02:26 -0800 Subject: [PATCH] (feat/docs): Add Helm 3 installation details (#277) * (feat/docs): Add Helm 3 installation details Signed-off-by: Lachlan Evenson * Add Helm 3 uninstall command Signed-off-by: Lachlan Evenson * Use Helm 3 uninstall command Signed-off-by: Lachlan Evenson --- getting-started/cluster/setup-aks.md | 10 ++++++++-- getting-started/environment-setup.md | 16 +++++++++++++++- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/getting-started/cluster/setup-aks.md b/getting-started/cluster/setup-aks.md index af759d3b6..7a43b88f6 100644 --- a/getting-started/cluster/setup-aks.md +++ b/getting-started/cluster/setup-aks.md @@ -42,9 +42,15 @@ az aks create --resource-group [your_resource_group] --name [your_aks_cluster_na az aks get-credentials -n [your_aks_cluster_name] -g [your_resource_group] ``` -## (optional) Install Helm and deploy Tiller +## (optional) Install Helm -1. [Install Helm client](https://helm.sh/docs/using_helm/#installing-the-helm-client) +### Helm 3 installation (prefered) + +1. [Install Helm 3 client](https://helm.sh/docs/intro/install/) + +### Helm 2 installation + +1. [Install Helm 2 client](https://v2.helm.sh/docs/using_helm/#installing-helm) 2. Create the Tiller service account ```bash diff --git a/getting-started/environment-setup.md b/getting-started/environment-setup.md index e8381f3a4..e1cf8768d 100644 --- a/getting-started/environment-setup.md +++ b/getting-started/environment-setup.md @@ -153,8 +153,16 @@ helm repo add dapr https://daprio.azurecr.io/helm/v1/repo helm repo update ``` -3. Install the Dapr chart on your cluster in the `dapr-system` namespace +3. Install the Dapr chart on your cluster in the `dapr-system` namespace. +Helm 3 is the latest stable major release and is preferred. The installation command differs slightly between Helm 2 and Helm 3. You can determine the version of Helm you are using by running the `helm version` command. + +Use the following command to install the dapr chart using Helm 3. +```bash +helm install dapr dapr/dapr --namespace dapr-system +``` + +Use the following command to install the dapr chart using Helm 2. ```bash helm install dapr/dapr --name dapr --namespace dapr-system ``` @@ -174,6 +182,12 @@ dapr-sidecar-injector-8555576b6f-29cqm 1/1 Running 0 40s #### Uninstall Dapr on Kubernetes +Helm 3 +```bash +helm uninstall dapr -n dapr-system +``` + +Helm 2 ```bash helm del --purge -n dapr ```