mirror of https://github.com/dapr/docs.git
1.3 KiB
1.3 KiB
type | title | linkTitle | description |
---|---|---|---|
docs | configurations CLI command reference | configurations | Detailed information on the configurations CLI command |
Description
List all Dapr configurations.
Supported platforms
- [Kubernetes]({{< ref kubernetes >}})
Usage
dapr configurations [flags]
Flags
Name | Environment Variable | Default | Description |
---|---|---|---|
--kubernetes , -k |
false |
List all Dapr configurations in Kubernetes cluster (required). | |
--all-namespaces , -A |
true |
If true, list all Dapr configurations in all namespaces (optional) | |
--namespace |
List Dapr configurations in specific namespace. | ||
--name , -n |
Print specific Dapr configuration. (optional) | ||
--output , -o |
list |
Output format (options: json or yaml or list) | |
--help , -h |
Print this help message |
Examples
# List Dapr configurations in all namespaces in Kubernetes mode
dapr configurations -k
# List Dapr configurations in specific namespace in Kubernetes mode
dapr configurations -k --namespace default
# Print specific Dapr configuration in Kubernetes mode
dapr configurations -k -n appconfig
# List Dapr configurations in all namespaces in Kubernetes mode
dapr configurations -k --all-namespaces