From 4cbd3b30fd5a6961e0cc7173e5b73648dd6739ba Mon Sep 17 00:00:00 2001 From: Alexander Trauzzi Date: Mon, 11 Aug 2025 12:26:04 -0500 Subject: [PATCH] Add a note on how to disable the placement service (#4744) * Add a note on how to disable the placement service. Signed-off-by: Alexander Trauzzi * Update daprdocs/content/en/concepts/dapr-services/placement.md Co-authored-by: Alice Gibbons Signed-off-by: Alexander Trauzzi * Update daprdocs/content/en/concepts/dapr-services/placement.md Co-authored-by: Alice Gibbons Signed-off-by: Alexander Trauzzi * Update daprdocs/content/en/concepts/dapr-services/placement.md Co-authored-by: Alice Gibbons Signed-off-by: Alexander Trauzzi * Update daprdocs/content/en/concepts/dapr-services/placement.md Co-authored-by: Alice Gibbons Signed-off-by: Alexander Trauzzi * Grammar fixup Signed-off-by: Alexander Trauzzi * Update daprdocs/content/en/concepts/dapr-services/placement.md Co-authored-by: Mark Fussell Signed-off-by: Alexander Trauzzi --------- Signed-off-by: Alexander Trauzzi Co-authored-by: Alice Gibbons Co-authored-by: Mark Fussell --- .../en/concepts/dapr-services/placement.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/daprdocs/content/en/concepts/dapr-services/placement.md b/daprdocs/content/en/concepts/dapr-services/placement.md index c6d739957..56742b0a9 100644 --- a/daprdocs/content/en/concepts/dapr-services/placement.md +++ b/daprdocs/content/en/concepts/dapr-services/placement.md @@ -93,6 +93,22 @@ updatedAt | timestamp | Timestamp of the actor registered/updated. } ``` +## Disabling the Placement service + + +The Placement service can be disabled with the following setting: + + +``` +global.actors.enabled=false +``` + +The Placement service is not deployed with this setting in Kubernetes mode. This not only disables actor deployment, but also disables workflows, given that workflows use actors. This setting only applies in Kubernetes mode, however initializing Dapr with `--slim` excludes the Placement service from being deployed in self-hosted mode. + + +For more information on running Dapr on Kubernetes, visit the [Kubernetes hosting page](https://docs.dapr.io/operations/hosting/kubernetes/). + + ## Related links -[Learn more about the Placement API.]({{< ref placement_api.md >}}) \ No newline at end of file +[Learn more about the Placement API.]({{< ref placement_api.md >}})