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

configurations CLI 命令参考

有关 configurations CLI 命令的详细信息

说明

列出所有 Dapr 配置。

支持的平台

用法

dapr configurations [flags]

参数

Name 环境变量 默认值 说明
--kubernetes, -k false 列出 Kubernetes 群集中的所有 Dapr 配置
--name, -n 要打印的配置名称(可选)
--output, -o list 输出格式(选项:json 或 yaml 或列表)
--help, -h 显示此帮助消息

示例

# 列出 Kubernetes Dapr 配置项
dapr configurations -k