Usage of placement:
--disseminate-timeout duration sets the period of time in which a dissemination is considered failed if not completed.
Any daprds which have not responded within this time will be considered non-responsive and kicked.
Higher values will increase the grace period to complete dissemination in case of network issues,
but reduce the chance of skipping daprds which are slow to respond. (default 8s)
--enable-metrics Enable prometheus metric (default true)
--healthz-listen-address string The listening address for the healthz server
--healthz-port int sets the HTTP port for the healthz server (default 8080)
--id string Placement server ID (default "dapr-placement-0")
--initial-cluster strings raft cluster peers (default [dapr-placement-0=127.0.0.1:8201])
--inmem-store-enabled Enable in-memory log and snapshot store unless --raft-logstore-path is set (default true)
--keepalive-time duration sets the interval at which the placement service sends keepalive pings to daprd
on the gRPC stream to check if the connection is still alive.
Lower values will lead to shorter actor rebalancing time in case of pod loss/restart,
but higher network traffic during normal operation.
Accepts values between 1 and 10 seconds (default 2s)
--keepalive-timeout duration sets the timeout period for daprd to respond to the placement service's keepalive pings
before the placement service closes the connection.
Lower values will lead to shorter actor rebalancing time in case of pod loss/restart,
but higher network traffic during normal operation.
Accepts values between 1 and 10 seconds (default 3s)
--listen-address string The listening address for the placement service
--log-as-json print log as JSON (default false)
--log-file string Path to a file where logs will be written
--log-level string Options are debug, info, warn, error, or fatal (default info) (default "info")
--metadata-enabled Expose the placement tables on the healthz server
--metrics-listen-address string The address for the metrics server (default "0.0.0.0")
--metrics-port string The port for the metrics server (default "9090")
--mode string Runtime mode for Placement (default "standalone")
--port int sets the gRPC port for the placement service (default 50005)
--raft-logstore-path string raft log store path.
--replicationFactor int sets the replication factor for actor distribution on virtual nodes (default 100)
--sentry-address string Address of the Sentry service (default "dapr-sentry.default.svc:443")
--tls-enabled Should TLS be enabled for the placement gRPC server
--trust-anchors-file string Filepath to the trust anchors for the Dapr control plane (default "/var/run/secrets/dapr.io/tls/ca.crt")
--trust-domain string Trust domain for the Dapr control plane (default "localhost")
Options (24)
| Option | Description | Source |
|---|---|---|
--disseminate-timeout duration | sets the period of time in which a dissemination is considered failed if not completed. | help |
--enable-metrics | Enable prometheus metric (default true) | help |
--healthz-listen-address string | The listening address for the healthz server | help |
--healthz-port int | sets the HTTP port for the healthz server (default 8080) | help |
--id string | Placement server ID (default "dapr-placement-0") | help |
--initial-cluster strings | raft cluster peers (default [dapr-placement-0=127.0.0.1:8201]) | help |
--inmem-store-enabled | Enable in-memory log and snapshot store unless --raft-logstore-path is set (default true) | help |
--keepalive-time duration | sets the interval at which the placement service sends keepalive pings to daprd on the gRPC stream to check if the connection is still alive. | help |
--keepalive-timeout duration | sets the timeout period for daprd to respond to the placement service's keepalive pings before the placement service closes the connection. | help |
--listen-address string | The listening address for the placement service | help |
--log-as-json | print log as JSON (default false) | help |
--log-file string | Path to a file where logs will be written | help |
--log-level string | Options are debug, info, warn, error, or fatal (default info) (default "info") | help |
--metadata-enabled | Expose the placement tables on the healthz server | help |
--metrics-listen-address string | The address for the metrics server (default "0.0.0.0") | help |
--metrics-port string | The port for the metrics server (default "9090") | help |
--mode string | Runtime mode for Placement (default "standalone") | help |
--port int | sets the gRPC port for the placement service (default 50005) | help |
--raft-logstore-path string | raft log store path. | help |
--replicationFactor int | sets the replication factor for actor distribution on virtual nodes (default 100) | help |
--sentry-address string | Address of the Sentry service (default "dapr-sentry.default.svc:443") | help |
--tls-enabled | Should TLS be enabled for the placement gRPC server | help |
--trust-anchors-file string | Filepath to the trust anchors for the Dapr control plane (default "/var/run/secrets/dapr.io/tls/ca.crt") | help |
--trust-domain string | Trust domain for the Dapr control plane (default "localhost") | help |