Steps to upgrade Dapr in a self-hosted environment
Follow these steps to upgrade Dapr in self-hosted mode and ensure a smooth upgrade
Uninstall the current Dapr deployment:
Note
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.dapr uninstall --allDownload and install the latest CLI by visiting this guide.
Initialize the Dapr runtime:
dapr initEnsure you are using the latest version of Dapr (v1.2) with:
$ dapr --version CLI version: 1.2 Runtime version: 1.2
Last modified May 26, 2021: Update to 1.2 (#1519) (5d71c507)