Skip to content

Commit 4cbd3b3

Browse files
atrauzzialicejgibbonsmsfussell
authored
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 <[email protected]> * Update daprdocs/content/en/concepts/dapr-services/placement.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Alexander Trauzzi <[email protected]> * Update daprdocs/content/en/concepts/dapr-services/placement.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Alexander Trauzzi <[email protected]> * Update daprdocs/content/en/concepts/dapr-services/placement.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Alexander Trauzzi <[email protected]> * Update daprdocs/content/en/concepts/dapr-services/placement.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Alexander Trauzzi <[email protected]> * Grammar fixup Signed-off-by: Alexander Trauzzi <[email protected]> * Update daprdocs/content/en/concepts/dapr-services/placement.md Co-authored-by: Mark Fussell <[email protected]> Signed-off-by: Alexander Trauzzi <[email protected]> --------- Signed-off-by: Alexander Trauzzi <[email protected]> Co-authored-by: Alice Gibbons <[email protected]> Co-authored-by: Mark Fussell <[email protected]>
1 parent 050e673 commit 4cbd3b3

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

daprdocs/content/en/concepts/dapr-services/placement.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,22 @@ updatedAt | timestamp | Timestamp of the actor registered/updated.
9393
}
9494
```
9595

96+
## Disabling the Placement service
97+
98+
99+
The Placement service can be disabled with the following setting:
100+
101+
102+
```
103+
global.actors.enabled=false
104+
```
105+
106+
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.
107+
108+
109+
For more information on running Dapr on Kubernetes, visit the [Kubernetes hosting page](https://docs.dapr.io/operations/hosting/kubernetes/).
110+
111+
96112
## Related links
97113

98-
[Learn more about the Placement API.]({{< ref placement_api.md >}})
114+
[Learn more about the Placement API.]({{< ref placement_api.md >}})

0 commit comments

Comments
 (0)