mirror of https://github.com/dapr/docs.git
Add self-host upgrade instructions
This commit is contained in:
parent
321af418cb
commit
2f150b1af1
|
@ -0,0 +1,35 @@
|
||||||
|
---
|
||||||
|
type: docs
|
||||||
|
title: "Steps to upgrade Dapr in a self-hosted environment"
|
||||||
|
linkTitle: "Upgrade Dapr"
|
||||||
|
weight: 50000
|
||||||
|
description: "Follow these steps to upgrade Dapr in self-hosted mode and ensure a smooth upgrade."
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
1. Uninstall the current Dapr deployment:
|
||||||
|
|
||||||
|
{{% alert title="Note" color="warning" %}}
|
||||||
|
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.
|
||||||
|
{{% /alert %}}
|
||||||
|
|
||||||
|
```bash
|
||||||
|
dapr uninstall --all
|
||||||
|
```
|
||||||
|
|
||||||
|
1. Download and install the latest CLI by visiting [this guide]({{< ref install-dapr-cli.md >}}).
|
||||||
|
|
||||||
|
1. Initialize the Dapr runtime:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
dapr init --runtime-version=1.0.0-rc.2
|
||||||
|
```
|
||||||
|
|
||||||
|
1. Ensure you are using the latest version of Dapr (1.0.0-rc.2) with:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ dapr --version
|
||||||
|
|
||||||
|
CLI version: 1.0.0-rc.3
|
||||||
|
Runtime version: 1.0.0-rc.2
|
||||||
|
```
|
Loading…
Reference in New Issue