mirror of https://github.com/dapr/docs.git
Update configuration-concept.md
This commit is contained in:
parent
58f9f64d58
commit
9358737d1e
|
@ -6,27 +6,23 @@ weight: 400
|
||||||
description: "Change the behavior of Dapr sidecars or globally on Dapr system services"
|
description: "Change the behavior of Dapr sidecars or globally on Dapr system services"
|
||||||
---
|
---
|
||||||
|
|
||||||
Dapr configurations are settings that enable you to change both the behavior of individual Dapr application sidecars, the the global behavior of the system services in the Dapr control plane.
|
Dapr configurations are settings that enable you to change both the behavior of individual Dapr applications, or the global behavior of the system services in the Dapr control plane.
|
||||||
|
|
||||||
Configurations are defined and deployed as a YAML file. An example would look like:
|
Configurations are defined and deployed as a YAML file. An application configuration example is like this:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Configuration
|
kind: Configuration
|
||||||
metadata:
|
metadata:
|
||||||
name: default
|
name: daprConfig
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
mtls:
|
|
||||||
enabled: true
|
|
||||||
allowedClockSkew: 15m
|
|
||||||
workloadCertTTL: 24h
|
|
||||||
tracing:
|
tracing:
|
||||||
samplingRate: "1"
|
samplingRate: "1"
|
||||||
zipkin:
|
zipkin:
|
||||||
endpointAddress: "https://..."
|
endpointAddress: "http://localhost:9411/api/v2/spans"
|
||||||
```
|
```
|
||||||
|
|
||||||
This configuration configures mtls for secure communication and tracing for telemetry recording. It can be loaded in self-hosted mode by editing the default configuration file in your `.dapr` directory, or by applying it to your Kubernetes cluster with kubectl/helm.
|
This configuration configures tracing for telemetry recording. It can be loaded in 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.
|
||||||
|
|
||||||
Read [this page]({{<ref "configuration-overview.md">}}) for a list of all configuration options.
|
Read [this page]({{<ref "configuration-overview.md">}}) for a list of all configuration options.
|
||||||
|
|
Loading…
Reference in New Issue