mirror of https://github.com/dapr/docs.git
last update per mark review
Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
parent
271ab96b7f
commit
38166048ef
|
|
@ -6,9 +6,13 @@ weight: 400
|
|||
description: "Change the behavior of Dapr application sidecars or globally on Dapr control plane system services"
|
||||
---
|
||||
|
||||
Dapr configurations are settings and policies that enable you to change both the behavior of individual Dapr applications, or the global behavior of the Dapr control plane system services. For example, you can set an ACL policy on the application sidecar configuration which indicates which methods can be called from another application, or on the Dapr control plane configuration you can change the certificate renewal period for all certificates that are deployed to application sidecar instances.
|
||||
With Dapr configurations, you use settings and policies to change:
|
||||
- The behavior of individual Dapr applications
|
||||
- The global behavior of the Dapr control plane system services
|
||||
|
||||
Configurations are defined and deployed as a YAML file. An application configuration example is shown below, which demonstrates an example of setting a tracing endpoint for where to send the metrics information, capturing all the sample traces.
|
||||
For example, set an ACL policy on the application sidecar configuration to indicate which methods can be called from another application. If you set an ACL policy on the Dapr control plane configuration, you can change the certificate renewal period for all certificates that are deployed to application sidecar instances.
|
||||
|
||||
Configurations are defined and deployed as a YAML file. In the following application configuration example, a tracing endpoint is set for where to send the metrics information, capturing all the sample traces.
|
||||
|
||||
```yaml
|
||||
apiVersion: dapr.io/v1alpha1
|
||||
|
|
@ -23,9 +27,11 @@ spec:
|
|||
endpointAddress: "http://localhost:9411/api/v2/spans"
|
||||
```
|
||||
|
||||
This configuration configures tracing for metrics recording. It can be loaded in local self-hosted mode by editing the default configuration file called `config.yaml` file in your `.dapr` directory, or by applying it to your Kubernetes cluster with kubectl/helm.
|
||||
The above YAML configures tracing for metrics recording. You can load it in local self-hosted mode by either:
|
||||
- Editing the default configuration file called `config.yaml` file in your `.dapr` directory, or
|
||||
- Applying it to your Kubernetes cluster with `kubectl/helm`.
|
||||
|
||||
Here is an example of the Dapr control plane configuration called `daprsystem` in the `dapr-system` namespace.
|
||||
The following example shows the Dapr control plane configuration called `daprsystem` in the `dapr-system` namespace.
|
||||
|
||||
```yaml
|
||||
apiVersion: dapr.io/v1alpha1
|
||||
|
|
@ -40,8 +46,12 @@ spec:
|
|||
allowedClockSkew: "15m"
|
||||
```
|
||||
|
||||
Visit [overview of Dapr configuration options]({{<ref "configuration-overview.md">}}) for a list of the configuration options.
|
||||
[Learn more about configuration options.]({{< ref "configuration-overview.md" >}})
|
||||
|
||||
{{% alert title="Note" color="primary" %}}
|
||||
Dapr application and control plane configurations should not be confused with the configuration building block API that enables applications to retrieve key/value data from configuration store components. Read the [Configuration building block]({{< ref configuration-api-overview >}}) for more information.
|
||||
{{% alert title="Important" color="warning" %}}
|
||||
Dapr application and control plane configurations should not be confused with the [configuration building block API]({{< ref configuration-api-overview >}}), which enables applications to retrieve key/value data from configuration store components.
|
||||
{{% /alert %}}
|
||||
|
||||
## Next steps
|
||||
|
||||
{{< button text="Learn more about configuration" page="configuration-overview" >}}
|
||||
|
|
@ -6,7 +6,9 @@ weight: 100
|
|||
description: "Overview of Dapr configuration"
|
||||
---
|
||||
|
||||
With Dapr configuration, you can set options for the sidecar or control plane.
|
||||
Dapr configurations are settings and policies that enable you to change both the behavior of individual Dapr applications, or the global behavior of the Dapr control plane system services.
|
||||
|
||||
[for more information, read the configuration concept.]({{< ref configuration-concept.md >}})
|
||||
|
||||
## Sidecar configuration
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue