Skip to content

Commit 33cfb36

Browse files
authored
Update Ansible scheduler instructions (#5224)
* Removed extraneous instruction Akka dispatcher added directly into code in recent commit so this is no longer necessary * Add directions for scheduler without elasticsearch
1 parent 9a39c10 commit 33cfb36

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

ansible/README.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ It will run one more component called "scheduler" and ETCD.
157157
You can update service providers for the scheduler as follows.
158158

159159
**common/scala/src/main/resources/reference.conf**
160+
161+
If you are using ElasticSearch (recommended) then replace ```NoopDurationCheckerProvider``` with ```ElasticSearchDurationCheckerProvider``` below.
160162
```
161163
whisk.spi {
162164
ArtifactStoreProvider = org.apache.openwhisk.core.database.CouchDbStoreProvider
@@ -169,27 +171,13 @@ whisk.spi {
169171
AuthenticationDirectiveProvider = org.apache.openwhisk.core.controller.BasicAuthenticationDirective
170172
InvokerProvider = org.apache.openwhisk.core.invoker.FPCInvokerReactive
171173
InvokerServerProvider = org.apache.openwhisk.core.invoker.FPCInvokerServer
172-
DurationCheckerProvider = org.apache.openwhisk.core.scheduler.queue.ElasticSearchDurationCheckerProvider
174+
DurationCheckerProvider = org.apache.openwhisk.core.scheduler.queue.NoopDurationCheckerProvider
173175
}
174176
.
175177
.
176178
.
177179
```
178180

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-
193181
#### Enable the scheduler
194182
- Make sure you enable the scheduler by configuring `scheduler_enable`.
195183

0 commit comments

Comments
 (0)