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.
dashboard CLI 命令参考
有关 dashboard CLI 命令的详细信息
说明
启动 Dapr 仪表板。
支持的平台
用法
dapr dashboard [flags]
参数
Name | 环境变量 | 默认值 | 说明 |
---|---|---|---|
--address , -a |
localhost |
Address to listen on. Only accepts IP address or localhost as a value | |
--help , -h |
显示此帮助消息 | ||
--kubernetes , -k |
false |
通过本地代理连接 Kubernetes 集群,在本地浏览器打开Dapr 控制面板 | |
--namespace , -n |
dapr-system |
Dapr 仪表板正在运行的名称空间 | |
--port , -p |
8080 |
用于 Dapr 仪表板的本地端口 | |
--version , -v |
false |
打印 Dapr 仪表板的版本 |
示例
# Start dashboard locally
dapr dashboard
# Start dashboard service locally on a specified port
dapr dashboard -p 9999
# Port forward to dashboard service running in Kubernetes
dapr dashboard -k
# Port forward to dashboard service running in Kubernetes on all addresses on a specified port
dapr dashboard -k -p 9999 --address 0.0.0.0
# Port forward to dashboard service running in Kubernetes on a specified port
dapr dashboard -k -p 9999
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.