This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 829e734 Update ansible with new scheduler instructions (#5202)
829e734 is described below
commit 829e734c759e8cf188e30c22d7f96f69ebfb1a97
Author: Erika Hunhoff <[email protected]>
AuthorDate: Wed Mar 30 17:03:58 2022 -0600
Update ansible with new scheduler instructions (#5202)
* Update ansible/scheduler instructions
Add instructions to add configuration for akka dispatcher, add complete
file paths in two places
* Change lease service to PinnedDispatcher
---
ansible/README.md | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/ansible/README.md b/ansible/README.md
index 6865c6b..19149f8 100644
--- a/ansible/README.md
+++ b/ansible/README.md
@@ -156,7 +156,7 @@ It will run one more component called "scheduler" and ETCD.
#### Configure service providers for the scheduler
You can update service providers for the scheduler as follows.
-**common/scala/src/main/resources**
+**common/scala/src/main/resources/reference.conf**
```
whisk.spi {
ArtifactStoreProvider =
org.apache.openwhisk.core.database.CouchDbStoreProvider
@@ -176,10 +176,24 @@ whisk.spi {
.
```
+#### Configure akka dispatcher for the scheduler
+Add a new dispatcher entry as follows.
+
+**common/scala/src/main/resources/reference.conf**
+```
+ lease-service-dispatcher {
+ executor = "thread-pool-executor"
+ type = PinnedDispatcher
+ }
+.
+.
+.
+```
+
#### Enable the scheduler
- Make sure you enable the scheduler by configuring `scheduler_enable`.
-**ansible/environments/local/group_vars**
+**ansible/environments/local/group_vars/all**
```yaml
scheduler_enable: true
```