mirror of https://github.com/dapr/docs.git
933 B
933 B
| type | title | linkTitle | weight | description |
|---|---|---|---|---|
| docs | Steps to upgrade Dapr in a self-hosted environment | Upgrade Dapr | 50000 | Follow these steps to upgrade Dapr in self-hosted mode and ensure a smooth upgrade. |
-
Uninstall the current Dapr deployment:
{{% alert title="Note" color="warning" %}} This will remove the default
$HOME/.daprdirectory, binaries and all containers (dapr_redis, dapr_placement and dapr_zipkin). Linux users need to runsudoif docker command needs sudo. {{% /alert %}}dapr uninstall --all -
Download and install the latest CLI by visiting [this guide]({{< ref install-dapr-cli.md >}}).
-
Initialize the Dapr runtime:
dapr init --runtime-version=1.0.0-rc.2 -
Ensure you are using the latest version of Dapr (1.0.0-rc.2) with:
$ dapr --version CLI version: 1.0.0-rc.3 Runtime version: 1.0.0-rc.2