The documentation you are viewing is for Dapr v1.7 which is an older version of Dapr. For up-to-date documentation, see the latest version.
在自托管环境中升级 Dapr 的步骤
按照这些步骤在自托管模式下升级 Dapr,并确保顺利升级
-
卸载当前的Dapr部署:
Note
这将删除默认$HOME/.dapr
目录、 二进制文件和所有容器 (dapr_redis、 dapr_placement 和 dapr_zipkin)。 如果docker 命令需要sudo,Linux 用户需要运行sudo
。dapr uninstall --all
-
Download and install the latest CLI by visiting this guide.
-
初始化 Dapr 运行时:
dapr init
-
Ensure you are using the latest version of Dapr (v1.2) with:
$ dapr --version CLI version: 1.2 Runtime version: 1.2
Feedback
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.