Updates block-shutdown-seconds to block-shutdown-duration

Signed-off-by: joshvanl <me@joshvanl.dev>
This commit is contained in:
joshvanl 2023-12-05 14:08:08 +00:00
parent 3114f4d357
commit 22b7057aed
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ This table is meant to help users understand the equivalent options for running
| `--sentry-address` | `--sentry-address` | | not supported | Address for the [Sentry CA service]({{< ref sentry >}}) |
| `--version` | `--version` | `-v` | not supported | Prints the runtime version |
| `--dapr-graceful-shutdown-seconds` | not supported | | `dapr.io/graceful-shutdown-seconds` | Graceful shutdown duration in seconds for Dapr, the maximum duration before forced shutdown when waiting for all in-progress requests to complete. Defaults to `5`. If you are running in Kubernetes mode, this value should not be larger than the Kubernetes termination grace period, who's default value is `30`.|
| `--dapr-block-shutdown-seconds` | not supported | | `dapr.io/block-shutdown-seconds` | Block shutdowns seconds, if set, will block the graceful shutdown proceedure as described above from starting until the number of seconds has elapsed or the application becomes unhealthy as configured through application health options. This is useful for applications which need to execute Dapr APIs during their own termination procudure. Any new invocations of any Dapr APIs will not be available to the application once the block has expired. |
| `--dapr-block-shutdown-duration` | not supported | | `dapr.io/block-shutdown-duration` | Block shutdown duration, if set, will block the graceful shutdown proceedure as described above from starting until the given duration has elapsed or the application becomes unhealthy as configured through application health options. This is useful for applications which need to execute Dapr APIs during their own termination procudure. Any new invocations of any Dapr APIs will not be available to the application once the block has expired. Accepts [Go duration](https://pkg.go.dev/time#ParseDuration) string. |
| not supported | not supported | | `dapr.io/enabled` | Setting this paramater to true injects the Dapr sidecar into the pod |
| not supported | not supported | | `dapr.io/api-token-secret` | Tells Dapr which Kubernetes secret to use for [token-based API authentication]({{< ref api-token >}}). By default this is not set |
| not supported | not supported | | `dapr.io/app-token-secret` | Tells Dapr which Kubernetes secret to use for [token-based application authentication]({{< ref app-api-token >}}). By default, this is not set |