The documentation you are viewing is for Dapr v1.5 which is an older version of Dapr. For up-to-date documentation, see the latest version.

uninstall CLI 命令参考

有关 uninstall CLI 命令的详细信息

说明

卸载 Dapr 运行时。

支持的平台

用法

dapr uninstall [flags]

参数

Name 环境变量 默认值 说明
--all false 除 actor Placement放置容器外,卸载 Redis, Zipkin 容器。 删除 dapr 默认文件夹,路径为 $HOME/.dapr or %USERPROFILE%\.dapr\.
--help, -h 显示此帮助消息
--kubernetes, -k false 从 Kubernetes 集群卸载 dapr
--namespace, -n dapr-system 要卸载 Dapr 的 Kubernetes 命名空间

示例

从 Self-Hosted 模式卸载

dapr uninstall

You can also use option --all to remove .dapr directory, Redis, Placement and Zipkin containers

dapr uninstall --all

从 Kubernetes 卸载

dapr uninstall -k