Skip to content

Commit 829e734

Browse files
authored
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
1 parent 3b6d07a commit 829e734

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

ansible/README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ It will run one more component called "scheduler" and ETCD.
156156
#### Configure service providers for the scheduler
157157
You can update service providers for the scheduler as follows.
158158

159-
**common/scala/src/main/resources**
159+
**common/scala/src/main/resources/reference.conf**
160160
```
161161
whisk.spi {
162162
ArtifactStoreProvider = org.apache.openwhisk.core.database.CouchDbStoreProvider
@@ -176,10 +176,24 @@ whisk.spi {
176176
.
177177
```
178178

179+
#### Configure akka dispatcher for the scheduler
180+
Add a new dispatcher entry as follows.
181+
182+
**common/scala/src/main/resources/reference.conf**
183+
```
184+
lease-service-dispatcher {
185+
executor = "thread-pool-executor"
186+
type = PinnedDispatcher
187+
}
188+
.
189+
.
190+
.
191+
```
192+
179193
#### Enable the scheduler
180194
- Make sure you enable the scheduler by configuring `scheduler_enable`.
181195

182-
**ansible/environments/local/group_vars**
196+
**ansible/environments/local/group_vars/all**
183197
```yaml
184198
scheduler_enable: true
185199
```

0 commit comments

Comments
 (0)