Skip to content

Commit fb8764b

Browse files
Update multi-app template and arguments annotations for new configuration options (#4573)
Signed-off-by: Anton Troshin <[email protected]> Co-authored-by: Mark Fussell <[email protected]>
1 parent 0682cd0 commit fb8764b

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

daprdocs/content/en/developing-applications/local-development/multi-app-dapr-run/multi-app-template.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -254,14 +254,14 @@ The properties for the Multi-App Run template align with the `dapr run` CLI flag
254254
| `apiListenAddresses` | N | Dapr API listen addresses | |
255255
| `logLevel` | N | The log verbosity. | |
256256
| `appMaxConcurrency` | N | The concurrency level of the application; default is unlimited | |
257-
| `placementHostAddress` | N | | |
257+
| `placementHostAddress` | N | Comma separated list of addresses for Dapr placement servers | `127.0.0.1:50057,127.0.0.1:50058` |
258+
| `schedulerHostAddress` | N | Dapr Scheduler Service host address | `localhost:50006` |
258259
| `appSSL` | N | Enable https when Dapr invokes the application | |
259-
| `daprHTTPMaxRequestSize` | N | Max size of the request body in MB. | |
260-
| `daprHTTPReadBufferSize` | N | Max size of the HTTP read buffer in KB. This also limits the maximum size of HTTP headers. The default 4 KB | |
260+
| `maxBodySize` | N | Max size of the request body in MB. Set the value using size units (e.g., `16Mi` for 16MB). The default is `4Mi` | |
261+
| `readBufferSize` | N | Max size of the HTTP read buffer in KB. This also limits the maximum size of HTTP headers. Set the value using size units, for example `32Ki` will support headers up to 32KB . Default is `4Ki` for 4KB | |
261262
| `enableAppHealthCheck` | N | Enable the app health check on the application | `true`, `false` |
262263
| `appHealthCheckPath` | N | Path to the health check file | `/healthz` |
263-
| `appHealthProbeInterval` | N | Interval to probe for the health of the app in seconds
264-
| |
264+
| `appHealthProbeInterval` | N | Interval to probe for the health of the app in seconds | |
265265
| `appHealthProbeTimeout` | N | Timeout for app health probes in milliseconds | |
266266
| `appHealthThreshold` | N | Number of consecutive failures for the app to be considered unhealthy | |
267267
| `enableApiLogging` | N | Enable the logging of all API calls from application to Dapr | |
@@ -303,10 +303,11 @@ The properties for the Multi-App Run template align with the `dapr run -k` CLI f
303303
| `apiListenAddresses` | N | Dapr API listen addresses | |
304304
| `logLevel` | N | The log verbosity. | |
305305
| `appMaxConcurrency` | N | The concurrency level of the application; default is unlimited | |
306-
| `placementHostAddress` | N | | |
306+
| `placementHostAddress` | N | Comma separated list of addresses for Dapr placement servers | `127.0.0.1:50057,127.0.0.1:50058` |
307+
| `schedulerHostAddress` | N | Dapr Scheduler Service host address | `127.0.0.1:50006` |
307308
| `appSSL` | N | Enable https when Dapr invokes the application | |
308-
| `daprHTTPMaxRequestSize` | N | Max size of the request body in MB. | |
309-
| `daprHTTPReadBufferSize` | N | Max size of the HTTP read buffer in KB. This also limits the maximum size of HTTP headers. The default 4 KB | |
309+
| `maxBodySize` | N | Max size of the request body in MB. Set the value using size units (e.g., `16Mi` for 16MB). The default is `4Mi` | `16Mi` |
310+
| `readBufferSize` | N | Max size of the HTTP read buffer in KB. This also limits the maximum size of HTTP headers. Set the value using size units, for example `32Ki` will support headers up to 32KB . Default is `4Ki` for 4KB | `32Ki` |
310311
| `enableAppHealthCheck` | N | Enable the app health check on the application | `true`, `false` |
311312
| `appHealthCheckPath` | N | Path to the health check file | `/healthz` |
312313
| `appHealthProbeInterval` | N | Interval to probe for the health of the app in seconds | |

daprdocs/content/en/reference/arguments-annotations-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This table is meant to help users understand the equivalent options for running
2424
| `--dapr-http-max-request-size` | `--dapr-http-max-request-size` | | `dapr.io/http-max-request-size` | **Deprecated** in favor of `--max-body-size`. Inreasing the request max body size to handle large file uploads using http and grpc protocols. Default is `4` MB |
2525
| `--max-body-size` | not supported | | `dapr.io/max-body-size` | Inreasing the request max body size to handle large file uploads using http and grpc protocols. Set the value using size units (e.g., `16Mi` for 16MB). The default is `4Mi` |
2626
| `--dapr-http-read-buffer-size` | `--dapr-http-read-buffer-size` | | `dapr.io/http-read-buffer-size` | **Deprecated** in favor of `--read-buffer-size`. Increasing max size of http header read buffer in KB to to support larger header values, for example `16` to support headers up to 16KB . Default is `16` for 16KB |
27-
| `--read-buffer-size` | not supported | | `dapr.io/read-buffer-size` | Increasing max size of http header read buffer in KB to to support larger header values. Set the value using size units, for example `32Ki` will support headers up to 32KB . Default is `4` for 4KB |
27+
| `--read-buffer-size` | not supported | | `dapr.io/read-buffer-size` | Increasing max size of http header read buffer in KB to to support larger header values. Set the value using size units, for example `32Ki` will support headers up to 32KB . Default is `4Ki` for 4KB |
2828
| not supported | `--image` | | `dapr.io/sidecar-image` | Dapr sidecar image. Default is daprio/daprd:latest. The Dapr sidecar uses this image instead of the latest default image. Use this when building your own custom image of Dapr and or [using an alternative stable Dapr image]({{< ref "support-release-policy.md#build-variations" >}}) |
2929
| `--internal-grpc-port` | not supported | | `dapr.io/internal-grpc-port` | Sets the internal Dapr gRPC port (default `50002`); all cluster services must use the same port for communication |
3030
| `--enable-metrics` | not supported | | configuration spec | Enable [prometheus metric]({{< ref prometheus >}}) (default true) |

0 commit comments

Comments
 (0)