Revert commands for 0.11 (#947)

This commit is contained in:
Aaron Crawfis 2020-11-20 16:08:32 -08:00 committed by GitHub
parent c191344c09
commit 904c3d31c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View File

@ -19,14 +19,14 @@ This command will download and install Dapr v0.11. To install v1.0-rc.1, the rel
{{% codetab %}}
This command will install the latest linux Dapr CLI to `/usr/local/bin`:
```bash
wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash -s 1.0.0-rc.2
wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash
```
{{% /codetab %}}
{{% codetab %}}
This command will install the latest windows Dapr cli to `%USERPROFILE%\.dapr\` and add this directory to User PATH environment variable:
```powershell
powershell -Command "$script=iwr -useb https://raw.githubusercontent.com/dapr/cli/master/install/install.ps1; $block=[ScriptBlock]::Create($script); invoke-command -ScriptBlock $block -ArgumentList 1.0.0-rc.2"
powershell -Command "iwr -useb https://raw.githubusercontent.com/dapr/cli/master/install/install.ps1 | iex"
```
Verify by opening Explorer and entering `%USERPROFILE%\.dapr\` into the address bar. You should see folders for bin, componenets and a config file.
{{% /codetab %}}
@ -34,7 +34,7 @@ Verify by opening Explorer and entering `%USERPROFILE%\.dapr\` into the address
{{% codetab %}}
This command will install the latest darwin Dapr CLI to `/usr/local/bin`:
```bash
curl -fsSL https://raw.githubusercontent.com/dapr/cli/master/install/install.sh | /bin/bash -s 1.0.0-rc.2
curl -fsSL https://raw.githubusercontent.com/dapr/cli/master/install/install.sh | /bin/bash
```
Or you can install via [Homebrew](https://brew.sh):

View File

@ -42,7 +42,7 @@ This command will download and install Dapr v0.11. To install v1.0-rc.1, the rel
The `-k` flag will initialize Dapr on the Kuberentes cluster in your current context.
```bash
$ dapr init -k --runtime-version 1.0.0-rc.1
$ dapr init -k
⌛ 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
@ -56,7 +56,7 @@ $ dapr init -k --runtime-version 1.0.0-rc.1
The default namespace when initializeing Dapr is `dapr-system`. You can override this with the `-n` flag.
```
dapr init -k -n mynamespace --runtime-version 1.0.0-rc.1
dapr init -k -n mynamespace
```
### Install in highly available mode:
@ -64,7 +64,7 @@ dapr init -k -n mynamespace --runtime-version 1.0.0-rc.1
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 >}}).
```
dapr init -k --enable-ha=true --runtime-version 1.0.0-rc.1
dapr init -k --enable-ha=true
```
### Disable mTLS:
@ -72,7 +72,7 @@ dapr init -k --enable-ha=true --runtime-version 1.0.0-rc.1
Dapr is initialized by default with [mTLS]({{< ref "security-concept.md#sidecar-to-sidecar-communication" >}}). You can disable it with:
```
dapr init -k --enable-mtls=false --runtime-version 1.0.0-rc.1
dapr init -k --enable-mtls=false
```
### Uninstall Dapr on Kubernetes

View File

@ -26,7 +26,7 @@ This command will download and install Dapr v0.11. To install v1.0-rc.1, the rel
- **Linux/MacOS:** if you run your docker cmds with sudo or the install path is `/usr/local/bin`(default install path), you need to use `sudo`
- **Windows:** make sure that you run the cmd terminal in administrator mode
2. Run `dapr init --runtime-version 1.0.0-rc.1`
2. Run `dapr init`
```bash
$ dapr init