---
id: "dapr"
type: "component"
kind: "service-mesh"
provider: "default"
category: "ops"
docs: "https://docs.dapr.io/concepts/dapr-services/sidecar/"
url: "https://localhost:3000/catalogue/components/dapr"
---

# Dapr

Application runtime sidecar exposing state, pub/sub, invocation, binding and actor building blocks.

| | |
|---|---|
| Provider | [default](https://localhost:3000/catalogue?provider=default) |
| Kind | [Service mesh](https://localhost:3000/catalogue/kinds/service-mesh) |
| Category | Operations |
| Official docs | [https://docs.dapr.io/concepts/dapr-services/sidecar/](https://docs.dapr.io/concepts/dapr-services/sidecar/) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `apiTokenAuth` | boolean | — | no | false | inherited |
| `circuitBreaking` | boolean | — | no | false | inherited |
| `controlPlanes` | integer | — | no | — | **1** |
| `deploymentMode` | enum | `kubernetes`, `self-hosted` | no | "kubernetes" | inherited |
| `managed` | boolean | — | no | false | **false** |
| `mtls` | boolean | — | no | false | **true** |
| `retries` | boolean | — | no | false | **true** |
| `sidecar` | boolean | — | no | true | **true** |

Bold values are the ones this component pins.

## Rules that apply · 0

No rule selects this kind or its category.

## Other products of the same kind · 11

- [AWS App Mesh](https://localhost:3000/catalogue/components/aws-app-mesh.md) `aws-app-mesh` — aws
- [Amazon VPC Lattice](https://localhost:3000/catalogue/components/aws-vpc-lattice.md) `aws-vpc-lattice` — aws
- [Cilium](https://localhost:3000/catalogue/components/cilium.md) `cilium` — default
- [Consul Connect](https://localhost:3000/catalogue/components/consul-connect.md) `consul-connect` — default
- [Envoy sidecar](https://localhost:3000/catalogue/components/envoy-sidecar.md) `envoy-sidecar` — default
- [Istio](https://localhost:3000/catalogue/components/istio.md) `istio` — default
- [Kmesh](https://localhost:3000/catalogue/components/kmesh.md) `kmesh` — default
- [Kuma](https://localhost:3000/catalogue/components/kuma.md) `kuma` — default
- [Linkerd](https://localhost:3000/catalogue/components/linkerd.md) `linkerd` — default
- [Generic service mesh](https://localhost:3000/catalogue/components/service-mesh.md) `service-mesh` — default
- [Cloud Service Mesh](https://localhost:3000/catalogue/components/google-cloud-service-mesh.md) `google-cloud-service-mesh` — gcp

## Use it in a design

```yaml
nodes:
  - { id: "dapr", component: "dapr" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# Dapr: portable application runtime injected as a sidecar next to each service, exposing state,
# pub/sub, service invocation, bindings and actor building blocks over HTTP and gRPC. Per "Dapr
# sidecar" and the Dapr security overview, mTLS between sidecars is on by default and the sidecar
# API token is opt-in.
schemaVersion: "1"
type: "component"
id: "dapr"
kind: "service-mesh"
provider: "default"
docs: "https://docs.dapr.io/concepts/dapr-services/sidecar/"
defaults:
  managed: false
  sidecar: true
  mtls: true
  retries: true
  controlPlanes: 1
properties:
  deploymentMode:
    type: "enum"
    values: ["kubernetes", "self-hosted"]
    default: "kubernetes"
  apiTokenAuth:
    type: "boolean"
    default: false
```

Human page: https://localhost:3000/catalogue/components/dapr
