From 8a3762b0c3b6fe2b8a2a3b4d5a578f7ec1cf1404 Mon Sep 17 00:00:00 2001 From: meijin Date: Wed, 18 Aug 2021 19:40:34 +0800 Subject: [PATCH] dashboard --address option add usage doc --- daprdocs/content/en/reference/cli/dapr-dashboard.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/daprdocs/content/en/reference/cli/dapr-dashboard.md b/daprdocs/content/en/reference/cli/dapr-dashboard.md index ade1bf525..ef4922650 100644 --- a/daprdocs/content/en/reference/cli/dapr-dashboard.md +++ b/daprdocs/content/en/reference/cli/dapr-dashboard.md @@ -23,6 +23,7 @@ dapr dashboard [flags] | Name | Environment Variable | Default | Description | |------|----------------------|---------|-------------| +| `--address`, `-a` | | `localhost` | Address to listen on. Only accepts IP address or localhost as a value | | `--help`, `-h` | | | Prints this help message | | `--kubernetes`, `-k` | | `false` | Opens Dapr dashboard in local browser via local proxy to Kubernetes cluster | | `--namespace`, `-n` | | `dapr-system` | The namespace where Dapr dashboard is running | @@ -46,6 +47,11 @@ dapr dashboard -p 9999 dapr dashboard -k ``` +### Port forward to dashboard service running in Kubernetes on all addresses on a specified port +```bash +dapr dashboard -k -p 9999 --address 0.0.0.0 +``` + ### Port forward to dashboard service running in Kubernetes on a specified port ```bash dapr dashboard -k -p 9999