Dapr Sidecar Extension
Learn how to add a Dapr sidecar with a Dapr extension
Categories:
Overview
The daprSidecar
extensions adds and configures a Dapr sidecar to your application.
Extension format
In this example a container adds a Dapr extension to add a Dapr sidecar:
resource frontend 'Applications.Core/containers@2023-10-01-preview' = {
name: 'frontend'
properties: {
application: app.id
container: {...}
extensions: [
{
kind: 'daprSidecar'
appId: 'frontend'
appPort: 3000
}
]
}
}
Properties
Property | Required | Description | Example |
---|---|---|---|
kind | y | The kind of extension. | dapr |
appId | n | The appId of the Dapr sidecar. | backend |
appPort | n | The port your service exposes to Dapr | 3500 |
config | n | The configuration to use for the Dapr sidecar |
Feedback
Was this page helpful?
Glad to hear it! Please feel free to star our repo and join our Discord server to stay up to date with the project.
Sorry to hear that. If you would like to also contribute a suggestion visit and tell us how we can improve.