You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-apps/azure-resource-manager-api-spec.md
+18-3Lines changed: 18 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: container-apps
5
5
author: craigshoemaker
6
6
ms.service: azure-container-apps
7
7
ms.topic: reference
8
-
ms.date: 01/23/2025
8
+
ms.date: 04/09/2025
9
9
ms.author: cshoe
10
10
ms.custom: build-2023
11
11
---
@@ -148,7 +148,7 @@ A resource's `properties.configuration` object includes the following properties
148
148
|`secrets`| Defines secret values in your container app. | object |
149
149
|`ingress`| Object that defines public accessibility configuration of a container app. | object |
150
150
|`registries`| Configuration object that references credentials for private container registries. Entries defined with `secretref` reference the secrets configuration object. | object |
151
-
|`dapr`| Configuration object that defines the Dapr settings for the container app. | object |
151
+
|`dapr`| Configuration object that defines the [Dapr settings for the container app](./enable-dapr.md). | object |
152
152
153
153
Changes made to the `configuration` section are [application-scope changes](revisions.md#application-scope-changes), which doesn't trigger a new revision.
154
154
@@ -253,7 +253,15 @@ The following example ARM template snippet deploys a container app.
Copy file name to clipboardExpand all lines: articles/container-apps/dapr-overview.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: hhunter-ms
6
6
ms.service: azure-container-apps
7
7
ms.custom: build-2023
8
8
ms.topic: conceptual
9
-
ms.date: 01/08/2025
9
+
ms.date: 04/09/2025
10
10
---
11
11
12
12
# Microservice APIs powered by Dapr
@@ -27,6 +27,8 @@ Configure microservices APIs for your container apps environment with a [Dapr-en
27
27
28
28
## Versioning
29
29
30
+
Instead of following a fixed release schedule, Dapr in Azure Container Apps releases new features and functionality based on the prioritization and stability of the Dapr binaries. [Learn more about Dapr releases in Azure Container Apps.](./faq.yml#how-often-are-dapr-versions-released-for-azure-container-apps-)
31
+
30
32
Dapr versions in Azure Container Apps include:
31
33
- A semantic versioning prefix, such as `1.13.6`, which denotes compatibility with the corresponding OSS Dapr runtime version APIs and related tools like SDKs, CLI, etc.
32
34
- A `-msft.<number>` suffix, which denotes incorporating Azure-specific customizations for enhanced security and production readiness.
Copy file name to clipboardExpand all lines: articles/container-apps/enable-dapr.md
+44-12Lines changed: 44 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,19 @@
1
1
---
2
-
title: Enable Dapr on an existing container app
3
-
description: Enable Dapr on your existing Azure Container App service.
2
+
title: Configure Dapr on an existing container app
3
+
description: Configure Dapr on your existing Azure Container App service.
4
4
ms.author: hannahhunter
5
5
author: hhunter-ms
6
6
ms.service: azure-container-apps
7
7
ms.custom: build-2023, devx-track-bicep
8
8
ms.topic: conceptual
9
-
ms.date: 11/25/2024
9
+
ms.date: 04/08/2025
10
10
---
11
11
12
-
# Enable Dapr on an existing container app
12
+
# Configure Dapr on an existing container app
13
13
14
-
You can configure Dapr using various [arguments and annotations][dapr-args] based on the runtime context. Azure Container Apps provides three channels through which you can enable Dapr:
14
+
You can configure Dapr using various [arguments and annotations][dapr-args] based on the runtime context. Dapr configurations available in Azure Container Apps are considered *application-scope* changes. When you run a container app in multiple-revision mode, changes to these settings don't create a new revision. Instead, all existing revisions are restarted to ensure they're configured with the most up-to-date values.
15
+
16
+
Azure Container Apps provides three channels through which you can enable and configure Dapr:
15
17
16
18
-[The Azure CLI](#using-the-cli)
17
19
-[Infrastructure as Code (IaC) templates,](#using-bicep-or-arm) like Bicep or Azure Resource Manager (ARM) templates
@@ -23,12 +25,19 @@ The following table outlines the currently supported list of Dapr sidecar config
|`--enable-dapr`|`dapr.enabled`| Enables Dapr on the container app. |
25
27
|`--dapr-app-port`|`dapr.appPort`| The port your application is listening on which is used by Dapr for communicating to your application |
26
-
|`--dapr-app-protocol`|`dapr.appProtocol`| Tells Dapr which protocol your application is using. Valid options are `http` or `grpc`. Default is `http`. |
28
+
|`--dapr-app-protocol`|`dapr.appProtocol`| Tells Dapr which protocol your application is using. Valid options are `http` or `grpc`. Default setting is `http`. |
27
29
|`--dapr-app-id`|`dapr.appId`| A unique Dapr identifier for your container app used for service discovery, state encapsulation, and the pub/sub consumer ID. |
28
-
|`--dapr-max-request-size`|`dapr.httpMaxRequestSize`| Set the max size of request body http and grpc servers to handle uploading of large files. Default is 4 MB. |
29
-
|`--dapr-read-buffer-size`|`dapr.httpReadBufferSize`| Set the max size of http header read buffer in to handle when sending multi-KB headers. The default 4 KB. |
30
+
|`--dapr-max-request-size`|`dapr.httpMaxRequestSize`| Set the max size of request body http and grpc servers to handle uploading of large files. Default setting is `4 MB`. |
31
+
|`--dapr-read-buffer-size`|`dapr.httpReadBufferSize`| Set the max size of http header read buffer in to handle when sending multi-KB headers. Default setting is `4 KB`. |
30
32
|`--dapr-api-logging`|`dapr.enableApiLogging`| Enables viewing the API calls from your application to the Dapr sidecar. |
31
-
|`--dapr-log-level`|`dapr.logLevel`| Set the log level for the Dapr sidecar. Allowed values: debug, error, info, warn. Default is `info`. |
33
+
|`--dapr-log-level`|`dapr.logLevel`| Set the log level for the Dapr sidecar. Allowed values: debug, error, info, warn. Default setting is `info`. |
34
+
|`--dapr-app-health-enabled`|`dapr.appHealth.enabled`| Optional configuration to enable app health checks for your container app using Boolean format. Default setting is `false`. |
35
+
|`--dapr-app-health-path`|`dapr.appHealth.path`| Set the path that Dapr invokes for health probes when the app channel is HTTP. This value is ignored if the app channel is using gRPC. Default setting is `/healthz`. |
36
+
|`--dapr-app-health-probe-interval`|`dapr.appHealth.probeIntervalSeconds`| Number of seconds between each health probe. Default setting is `3`. |
37
+
|`--dapr-app-health-probe-timeout`|`dapr.appHealth.probeTimeoutMilliseconds`| Timeout in milliseconds for health probe requests. This value must be smaller than the `probeIntervalSeconds` value. Default setting is `500`. |
38
+
|`--dapr-app-health-threshold`|`dapr.appHealth.threshold`| Max number of consecutive failures before the app is considered unhealthy. Default setting is `3`. |
39
+
|`--dapr-max-concurrency`|`dapr.maxConcurrency`| Limit the concurrency of your application. A valid value is any number larger than `0`. `-1` means no limit on concurrency. |
40
+
32
41
33
42
## Using the CLI
34
43
@@ -52,7 +61,19 @@ When using an IaC template, specify the following arguments in the `properties.c
52
61
appId: 'nodeapp'
53
62
appProtocol: 'http'
54
63
appPort: 3000
55
-
}
64
+
httpReadBufferSize: 30
65
+
httpMaxRequestSize: 10
66
+
logLevel: 'debug'
67
+
enableApiLogging: true
68
+
appHealth: {
69
+
enabled: true
70
+
path: '/health'
71
+
probeIntervalSeconds: 3
72
+
probeTimeoutMilliseconds: 1000
73
+
threshold: 3
74
+
},
75
+
maxConcurrency: 10
76
+
}
56
77
```
57
78
58
79
# [ARM](#tab/arm1)
@@ -62,13 +83,24 @@ When using an IaC template, specify the following arguments in the `properties.c
62
83
"enabled": true,
63
84
"appId": "nodeapp",
64
85
"appProtocol": "http",
65
-
"appPort": 3000
86
+
"appPort": 3000,
87
+
"httpReadBufferSize": 30,
88
+
"httpMaxRequestSize": 10,
89
+
"logLevel": "debug",
90
+
"enableApiLogging": true,
91
+
"appHealth": {
92
+
"enabled": true,
93
+
"path": "/health",
94
+
"probeIntervalSeconds": 3,
95
+
"probeTimeoutMilliseconds": 1000,
96
+
"threshold": 3,
97
+
},
98
+
"maxConcurrency": 10
66
99
}
67
100
```
68
101
69
102
---
70
103
71
-
The above Dapr configuration values are considered application-scope changes. When you run a container app in multiple-revision mode, changes to these settings don't create a new revision. Instead, all existing revisions are restarted to ensure they're configured with the most up-to-date values.
0 commit comments