Steps to upgrade Dapr in a self-hosted environment

Follow these steps to upgrade Dapr in self-hosted mode and ensure a smooth upgrade

  1. Uninstall the current Dapr deployment:

    Note

    This will remove the default $HOME/.dapr directory, binaries and all containers (dapr_redis, dapr_placement and dapr_zipkin). Linux users need to run sudo if docker command needs sudo.

    1. dapr uninstall --all
  2. Download and install the latest CLI by visiting this guide.

  3. Initialize the Dapr runtime:

    1. dapr init
  4. Ensure you are using the latest version of Dapr (v1.10.2)) with:

    1. $ dapr --version
    2. CLI version: 1.10
    3. Runtime version: 1.10

Last modified September 10, 2021: Be explicit in dapr version short code and ignore quickstart links from validation (b1774601)