Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ansible with new scheduler instructions #5202

Merged
merged 2 commits into from
Mar 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions ansible/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
```
Expand Down