mirror of https://github.com/dapr/docs.git
Added Kubernetes --wait and --timeout flags to the CLI documentation
This commit is contained in:
parent
5b66a38c8e
commit
a7091ca2d1
|
@ -65,7 +65,6 @@ The default namespace when initializing Dapr is `dapr-system`. You can override
|
||||||
dapr init -k -n mynamespace
|
dapr init -k -n mynamespace
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Install in highly available mode
|
### Install in highly available mode
|
||||||
|
|
||||||
You can run Dapr with 3 replicas of each control plane 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 in the dapr-system namespace for [production scenarios]({{< ref kubernetes-production.md >}}).
|
||||||
|
@ -82,6 +81,12 @@ Dapr is initialized by default with [mTLS]({{< ref "security-concept.md#sidecar-
|
||||||
dapr init -k --enable-mtls=false
|
dapr init -k --enable-mtls=false
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Wait for the installation to complete (default timeout is 300s/5m)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
dapr init -k --wait --timeout 600
|
||||||
|
```
|
||||||
|
|
||||||
### Uninstall Dapr on Kubernetes with CLI
|
### Uninstall Dapr on Kubernetes with CLI
|
||||||
|
|
||||||
Run the following command on your local machine to uninstall Dapr on your cluster:
|
Run the following command on your local machine to uninstall Dapr on your cluster:
|
||||||
|
|
|
@ -27,6 +27,8 @@ dapr init [flags]
|
||||||
| `--enable-mtls` | | `true` | Enable mTLS in your cluster |
|
| `--enable-mtls` | | `true` | Enable mTLS in your cluster |
|
||||||
| `--help`, `-h` | | | Print this help message |
|
| `--help`, `-h` | | | Print this help message |
|
||||||
| `--kubernetes`, `-k` | | `false` | Deploy Dapr to a Kubernetes cluster |
|
| `--kubernetes`, `-k` | | `false` | Deploy Dapr to a Kubernetes cluster |
|
||||||
|
| `--wait` | | `false` | Wait for Kubernetes initialization to complete |
|
||||||
|
| `--timeout` | | `300` | The wait timeout for the Kubernetes installation |
|
||||||
| `--namespace`, `-n` | | `dapr-system` | The Kubernetes namespace to install Dapr in |
|
| `--namespace`, `-n` | | `dapr-system` | The Kubernetes namespace to install Dapr in |
|
||||||
| `--network` | `DAPR_NETWORK` | | The Docker network on which to deploy the Dapr runtime |
|
| `--network` | `DAPR_NETWORK` | | The Docker network on which to deploy the Dapr runtime |
|
||||||
| `--runtime-version` | | `latest` | The version of the Dapr runtime to install, for example: `1.0.0` |
|
| `--runtime-version` | | `latest` | The version of the Dapr runtime to install, for example: `1.0.0` |
|
||||||
|
@ -44,6 +46,11 @@ dapr init
|
||||||
dapr init -k
|
dapr init -k
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Initialize Dapr in Kubernetes and wait for the installation to complete (default timeout is 300s/5m)
|
||||||
|
```bash
|
||||||
|
dapr init -k --wait --timeout 600
|
||||||
|
```
|
||||||
|
|
||||||
### Initialize specified version of Dapr runtime in self-hosted mode
|
### Initialize specified version of Dapr runtime in self-hosted mode
|
||||||
```bash
|
```bash
|
||||||
dapr init --runtime-version 0.10.0
|
dapr init --runtime-version 0.10.0
|
||||||
|
|
Loading…
Reference in New Issue