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.
list CLI 命令参考
有关 list CLI 命令的详细信息
说明
列出所有 Dapr 实例。
支持的平台
用法
dapr list [flags]
参数
Name | 环境变量 | 默认值 | 说明 |
---|---|---|---|
--help , -h |
显示此帮助消息 | ||
--kubernetes , -k |
false |
列出 Kubernetes 集群中的所有 Dapr pods | |
--output , -o |
table |
列表的输出格式。 有效值为: json 、 yaml 或 table |
示例
# List Dapr instances in self-hosted mode
dapr list
# List Dapr instances in Kubernetes mode
dapr list -k
# List Dapr instances in JSON format
dapr list -o json
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.