Some fixes

This commit is contained in:
Trond Hindenes 2021-01-29 11:54:18 +01:00
parent 04716f0230
commit 9220d2cbd2
1 changed files with 15 additions and 13 deletions

View File

@ -97,7 +97,7 @@ dapr uninstall --kubernetes
## Install with Helm (advanced) ## Install with Helm (advanced)
You can install Dapr to Kubernetes cluster using a Helm 3 chart. You can install Dapr on Kubernetes using a Helm 3 chart.
{{% alert title="Note" color="primary" %}} {{% alert title="Note" color="primary" %}}
@ -107,31 +107,34 @@ The latest Dapr helm chart no longer supports Helm v2. Please migrate from helm
### Add and install Dapr helm chart ### Add and install Dapr helm chart
1. Make sure [Helm 3](https://github.com/helm/helm/releases) is installed on your machine 1. Make sure [Helm 3](https://github.com/helm/helm/releases) is installed on your machine
2. Add Helm repo and update 2. Add Helm repo and update
```bash ```bash
helm repo add dapr https://dapr.github.io/helm-charts/ helm repo add dapr https://dapr.github.io/helm-charts/
helm repo update helm repo update
# See which chart versions are available
helm search repo dapr --devel --versions
``` ```
3. Create `dapr-system` namespace on your kubernetes cluster 3. Install the Dapr chart on your cluster in the `dapr-system` namespace.
```bash ```bash
kubectl create namespace dapr-system helm upgrade --install dapr dapr/dapr \
--version=1.0.0 \
--namespace dapr-system \
--create-namespace \
--wait
``` ```
4. Install the Dapr chart on your cluster in the `dapr-system` namespace. See [Guidelines for production ready deployments on Kubernetes]({{ ref kubernetes-production.md }}) for more information on installing and upgrading Dapr using Helm
```bash
helm install dapr dapr/dapr --namespace dapr-system --version 1.0.0-rc.2
```
### Verify installation ### Verify installation
Once the chart installation is complete verify the dapr-operator, dapr-placement, dapr-sidecar-injector and dapr-sentry pods are running in the `dapr-system` namespace: Once the chart installation is complete, verify that the dapr-operator, dapr-placement, dapr-sidecar-injector and dapr-sentry pods are running in the `dapr-system` namespace:
```bash ```bash
kubectl get pods -n dapr-system -w kubectl get pods --namespace dapr-system
``` ```
``` ```
@ -146,13 +149,12 @@ dapr-sentry-9435776c7f-8f7yd 1/1 Running 0 40s
### Uninstall Dapr on Kubernetes ### Uninstall Dapr on Kubernetes
```bash ```bash
helm uninstall dapr -n dapr-system helm uninstall dapr --namespace dapr-system
``` ```
### More information ### More information
- Read [this guide]({{< ref "Deploy and run Dapr in Kubernetes mode" >}}) for recommended Helm chart values for production setups - Read [this guide]({{< ref kubernetes-production.md >}}) for recommended Helm chart values for production setups
- See [this page](https://github.com/dapr/dapr/blob/master/charts/dapr/README.md) for details on Dapr helm charts. - See [this page](https://github.com/dapr/dapr/blob/master/charts/dapr/README.md) for details on Dapr helm charts.