The documentation you are viewing is for Dapr v1.5 which is an older version of Dapr. For up-to-date documentation, see the latest version.
init CLI command reference
Install Dapr on supported hosting platforms.
dapr init [flags]
||Enable high availability (HA) mode|
||Enable mTLS in your cluster|
||Print this help message|
||Deploy Dapr to a Kubernetes cluster|
||Wait for Kubernetes initialization to complete|
||The wait timeout for the Kubernetes installation|
||The Kubernetes namespace to install Dapr in|
||The version of the Dapr runtime to install, for example:
||Exclude placement service, Redis and Zipkin containers from self-hosted installation|
You can also specify a specific runtime version. Be default, the latest version is used.
dapr init --runtime-version 1.4.0
Dapr can also run Slim self-hosted mode without Docker.
dapr init -s
dapr init -k
You can wait for the installation to complete its deployment with the
The default timeout is 300s (5 min), but can be customized with the
dapr init -k --wait --timeout 600
You can also specify a specific runtime version.
dapr init -k --runtime-version 1.4.0
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.