mirror of https://github.com/dapr/docs.git
Revert commands for 0.11 (#947)
This commit is contained in:
parent
c191344c09
commit
904c3d31c8
|
@ -19,14 +19,14 @@ This command will download and install Dapr v0.11. To install v1.0-rc.1, the rel
|
||||||
{{% codetab %}}
|
{{% codetab %}}
|
||||||
This command will install the latest linux Dapr CLI to `/usr/local/bin`:
|
This command will install the latest linux Dapr CLI to `/usr/local/bin`:
|
||||||
```bash
|
```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 %}}
|
||||||
|
|
||||||
{{% codetab %}}
|
{{% codetab %}}
|
||||||
This command will install the latest windows Dapr cli to `%USERPROFILE%\.dapr\` and add this directory to User PATH environment variable:
|
This command will install the latest windows Dapr cli to `%USERPROFILE%\.dapr\` and add this directory to User PATH environment variable:
|
||||||
```powershell
|
```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.
|
Verify by opening Explorer and entering `%USERPROFILE%\.dapr\` into the address bar. You should see folders for bin, componenets and a config file.
|
||||||
{{% /codetab %}}
|
{{% /codetab %}}
|
||||||
|
@ -34,7 +34,7 @@ Verify by opening Explorer and entering `%USERPROFILE%\.dapr\` into the address
|
||||||
{{% codetab %}}
|
{{% codetab %}}
|
||||||
This command will install the latest darwin Dapr CLI to `/usr/local/bin`:
|
This command will install the latest darwin Dapr CLI to `/usr/local/bin`:
|
||||||
```bash
|
```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):
|
Or you can install via [Homebrew](https://brew.sh):
|
||||||
|
|
|
@ -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.
|
The `-k` flag will initialize Dapr on the Kuberentes cluster in your current context.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ dapr init -k --runtime-version 1.0.0-rc.1
|
$ dapr init -k
|
||||||
|
|
||||||
⌛ Making the jump to hyperspace...
|
⌛ 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
|
ℹ️ 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.
|
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:
|
### 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 >}}).
|
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:
|
### 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 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
|
### Uninstall Dapr on Kubernetes
|
||||||
|
|
|
@ -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`
|
- **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
|
- **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
|
```bash
|
||||||
$ dapr init
|
$ dapr init
|
||||||
|
|
Loading…
Reference in New Issue