From 65405ed59a55de96341961331889ed2fc05eb503 Mon Sep 17 00:00:00 2001 From: Ori Zohar Date: Tue, 2 Feb 2021 12:29:40 -0800 Subject: [PATCH] Redoing cosmetic changes, fixing broken link --- .../install-dapr-kubernetes.md | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/daprdocs/content/en/getting-started/install-dapr-kubernetes.md b/daprdocs/content/en/getting-started/install-dapr-kubernetes.md index a8c28f296..480ad9cec 100644 --- a/daprdocs/content/en/getting-started/install-dapr-kubernetes.md +++ b/daprdocs/content/en/getting-started/install-dapr-kubernetes.md @@ -51,12 +51,13 @@ The `-k` flag initializes Dapr on the Kubernetes cluster in your current context Make sure the correct "target" cluster is set. Check `kubectl context (kubectl config kubectl config get-contexts)` to verify. You can set a different context using `kubectl config use-context `. {{% /alert %}} -Run `dapr init -k --runtime-version 1.0.0-rc.3` on your local machine: +Run on your local machine: ```bash -$ dapr init -k --runtime-version 1.0.0-rc.3 - +dapr init -k --runtime-version 1.0.0-rc.3 +``` +``` ⌛ Making the jump to hyperspace... ℹ️ Note: To install Dapr using Helm, see here: https://github.com/dapr/docs/blob/master/getting-started/environment-setup.md#using-helm-advanced @@ -68,7 +69,7 @@ $ dapr init -k --runtime-version 1.0.0-rc.3 The default namespace when initializing Dapr is `dapr-system`. You can override this with the `-n` flag. -``` +```bash dapr init -k -n mynamespace --runtime-version 1.0.0-rc.3 ``` @@ -77,7 +78,7 @@ dapr init -k -n mynamespace --runtime-version 1.0.0-rc.3 You can run Dapr with 3 replicas of each control plane pod with the exception of the Placement pod in the dapr-system namespace for [production scenarios]({{< ref kubernetes-production.md >}}). -``` +```bash dapr init -k --enable-ha=true --runtime-version 1.0.0-rc.3 ``` @@ -85,7 +86,7 @@ dapr init -k --enable-ha=true --runtime-version 1.0.0-rc.3 Dapr is initialized by default with [mTLS]({{< ref "security-concept.md#sidecar-to-sidecar-communication" >}}). You can disable it with: -``` +```bash dapr init -k --enable-mtls=false --runtime-version 1.0.0-rc.3 ``` @@ -104,10 +105,10 @@ You can install Dapr on Kubernetes using a Helm 3 chart. {{% alert title="Note" color="primary" %}} -The latest Dapr helm chart no longer supports Helm v2. Please migrate from helm v2 to helm v3 by following [this guide](https://helm.sh/blog/migrate-from-helm-v2-to-helm-v3/). +The latest Dapr helm chart no longer supports Helm v2. Please migrate from Helm v2 to Helm v3 by following [this guide](https://helm.sh/blog/migrate-from-helm-v2-to-helm-v3/). {{% /alert %}} -### 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 @@ -130,7 +131,7 @@ The latest Dapr helm chart no longer supports Helm v2. Please migrate from helm --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]({{}}) for more information on installing and upgrading Dapr using Helm. ### Verify installation @@ -158,7 +159,7 @@ helm uninstall dapr --namespace dapr-system ### More information - 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. ## Next steps