mirror of https://github.com/dapr/docs.git
[dashboard] Update docs for installing Dapr Dashboard w Helm (#3508)
* initial draft for dashboard init Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com> * update per mark Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com> * Update daprdocs/content/en/operations/hosting/kubernetes/kubernetes-deploy.md Co-authored-by: Mark Fussell <markfussell@gmail.com> Signed-off-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> --------- Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com> Signed-off-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> Co-authored-by: Mark Fussell <markfussell@gmail.com>
This commit is contained in:
parent
06f96f3f76
commit
dbf76ee79a
|
@ -58,6 +58,18 @@ dapr init -k
|
||||||
✅ Success! Dapr has been installed to namespace dapr-system. To verify, run "dapr status -k" in your terminal. To get started, go here: https://aka.ms/dapr-getting-started
|
✅ Success! Dapr has been installed to namespace dapr-system. To verify, run "dapr status -k" in your terminal. To get started, go here: https://aka.ms/dapr-getting-started
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To run the dashboard, run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
dapr dashboard -k
|
||||||
|
```
|
||||||
|
|
||||||
|
If you installed Dapr in a non-default namespace, run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
dapr dashboard -k -n <your-namespace>
|
||||||
|
```
|
||||||
|
|
||||||
### Install Dapr (a private Dapr Helm chart)
|
### Install Dapr (a private Dapr Helm chart)
|
||||||
There are some scenarios where it's necessary to install Dapr from a private Helm chart, such as:
|
There are some scenarios where it's necessary to install Dapr from a private Helm chart, such as:
|
||||||
- needing more granular control of the Dapr Helm chart
|
- needing more granular control of the Dapr Helm chart
|
||||||
|
@ -125,7 +137,7 @@ 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
|
1. Add Helm repo and update
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
// Add the official Dapr Helm chart.
|
// Add the official Dapr Helm chart.
|
||||||
|
@ -134,10 +146,11 @@ The latest Dapr helm chart no longer supports Helm v2. Please migrate from Helm
|
||||||
helm repo add dapr http://helm.custom-domain.com/dapr/dapr/ \
|
helm repo add dapr http://helm.custom-domain.com/dapr/dapr/ \
|
||||||
--username=xxx --password=xxx
|
--username=xxx --password=xxx
|
||||||
helm repo update
|
helm repo update
|
||||||
# See which chart versions are available
|
// See which chart versions are available
|
||||||
helm search repo dapr --devel --versions
|
helm search repo dapr --devel --versions
|
||||||
```
|
```
|
||||||
3. Install the Dapr chart on your cluster in the `dapr-system` namespace.
|
|
||||||
|
1. Install the Dapr chart on your cluster in the `dapr-system` namespace.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
helm upgrade --install dapr dapr/dapr \
|
helm upgrade --install dapr dapr/dapr \
|
||||||
|
@ -158,7 +171,6 @@ The latest Dapr helm chart no longer supports Helm v2. Please migrate from Helm
|
||||||
--wait
|
--wait
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
See [Guidelines for production ready deployments on Kubernetes]({{< ref kubernetes-production.md >}}) for more information on installing and upgrading Dapr using Helm.
|
See [Guidelines for production ready deployments on Kubernetes]({{< ref kubernetes-production.md >}}) for more information on installing and upgrading Dapr using Helm.
|
||||||
|
|
||||||
### Uninstall Dapr on Kubernetes
|
### Uninstall Dapr on Kubernetes
|
||||||
|
@ -172,6 +184,22 @@ helm uninstall dapr --namespace dapr-system
|
||||||
- Read [this guide]({{< ref kubernetes-production.md >}}) 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.
|
||||||
|
|
||||||
|
## Installing the Dapr dashboard as part of the control plane
|
||||||
|
|
||||||
|
If you want to install the Dapr dashboard, use this Helm chart with the additional settings of your choice:
|
||||||
|
|
||||||
|
`helm install dapr dapr/dapr-dashboard --namespace dapr-system`
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
helm repo add dapr https://dapr.github.io/helm-charts/
|
||||||
|
helm repo update
|
||||||
|
kubectl create namespace dapr-system
|
||||||
|
# Install the Dapr dashboard
|
||||||
|
helm install dapr dapr/dapr-dashboard --namespace dapr-system
|
||||||
|
```
|
||||||
|
|
||||||
## Verify installation
|
## Verify installation
|
||||||
|
|
||||||
Once the installation is complete, verify that the dapr-operator, dapr-placement, dapr-sidecar-injector and dapr-sentry pods are running in the `dapr-system` namespace:
|
Once the installation is complete, verify that the dapr-operator, dapr-placement, dapr-sidecar-injector and dapr-sentry pods are running in the `dapr-system` namespace:
|
||||||
|
|
Loading…
Reference in New Issue