document scheduler config
This commit is contained in:
parent
827987d201
commit
4b527c4db8
1 changed files with 33 additions and 4 deletions
|
@ -112,6 +112,35 @@ Nomad and Consul on the regular, unencrypted URLs: `http://localhost:4646` for
|
||||||
Nomad and `http://localhost:8500` for Consul. Keep this terminal window for as
|
Nomad and `http://localhost:8500` for Consul. Keep this terminal window for as
|
||||||
long as you need to access Nomad and Consul on the cluster.
|
long as you need to access Nomad and Consul on the cluster.
|
||||||
|
|
||||||
|
### Setting scheduler config
|
||||||
|
|
||||||
|
Some configuration options have to be tweaked in the orchestrator. Use `nomad orchestrator scheduler set-config` to obtain the following result:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ nomad operator scheduler get-config --json
|
||||||
|
{
|
||||||
|
"KnownLeader": true,
|
||||||
|
"LastContact": 0,
|
||||||
|
"LastIndex": 0,
|
||||||
|
"NextToken": "",
|
||||||
|
"RequestTime": 0,
|
||||||
|
"SchedulerConfig": {
|
||||||
|
"CreateIndex": 5,
|
||||||
|
"MemoryOversubscriptionEnabled": true, # << THIS
|
||||||
|
"ModifyIndex": 399239,
|
||||||
|
"PauseEvalBroker": false,
|
||||||
|
"PreemptionConfig": {
|
||||||
|
"BatchSchedulerEnabled": true, # << THIS
|
||||||
|
"ServiceSchedulerEnabled": true, # << THIS
|
||||||
|
"SysBatchSchedulerEnabled": true # << THIS
|
||||||
|
"SystemSchedulerEnabled": true # << THIS
|
||||||
|
},
|
||||||
|
"RejectJobRegistration": false,
|
||||||
|
"SchedulerAlgorithm": "binpack"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
### Launching services
|
### Launching services
|
||||||
|
|
||||||
Stuff should be started in this order:
|
Stuff should be started in this order:
|
||||||
|
|
Loading…
Reference in a new issue