dashboard CLI command reference

Detailed information on the dashboard CLI command

Description

Start Dapr dashboard.

Supported platforms

Usage

  1. dapr dashboard [flags]

Flags

NameEnvironment VariableDefaultDescription
—address, -alocalhostAddress to listen on. Only accepts IP address or localhost as a value
—help, -hPrints this help message
—kubernetes, -kfalseOpens Dapr dashboard in local browser via local proxy to Kubernetes cluster
—namespace, -ndapr-systemThe namespace where Dapr dashboard is running
—port, -p8080The local port on which to serve Dapr dashboard
—version, -vfalsePrint the version for Dapr dashboard

Examples

  1. # Start dashboard locally
  2. dapr dashboard
  3. # Start dashboard service locally on a specified port
  4. dapr dashboard -p 9999
  5. # Port forward to dashboard service running in Kubernetes
  6. dapr dashboard -k
  7. # Port forward to dashboard service running in Kubernetes on all addresses on a specified port
  8. dapr dashboard -k -p 9999 --address 0.0.0.0
  9. # Port forward to dashboard service running in Kubernetes on a specified port
  10. dapr dashboard -k -p 9999

Warning messages - Kubernetes Mode

This command can issue warning messages.

Root certificate renewal warning

If the mtls root certificate deployed to the Kubernetes cluster expires in under 30 days the following warning message is displayed:

  1. Dapr root certificate of your Kubernetes cluster expires in <n> days. Expiry date: <date:time> UTC.
  2. Please see docs.dapr.io for certificate renewal instructions to avoid service interruptions.

Last modified March 21, 2024: Merge pull request #4082 from newbe36524/v1.13 (f4b0938)