Skip to content

Commit

Permalink
Merge pull request hashicorp#277 from tbehling/patch-1
Browse files Browse the repository at this point in the history
Docs: Add system batch (sysbatch) preemption
  • Loading branch information
lgfa29 authored Aug 26, 2022
2 parents 805e195 + 9d897fa commit 9cb3cd5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions website/docs/r/scheduler_config.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ resource "nomad_scheduler_config" "config" {
scheduler_algorithm = "spread"
memory_oversubscription_enabled = true
preemption_config = {
system_scheduler_enabled = true
batch_scheduler_enabled = true
service_scheduler_enabled = true
system_scheduler_enabled = true
batch_scheduler_enabled = true
service_scheduler_enabled = true
sysbatch_scheduler_enabled = true
}
}
```
Expand All @@ -41,3 +42,4 @@ The following arguments are supported:
- `system_scheduler_enabled` `(bool: true)` - Specifies whether preemption for system jobs is enabled. Note that if this is set to true, then system jobs can preempt any other jobs.
- `batch_scheduler_enabled` `(bool: false")` - Specifies whether preemption for batch jobs is enabled. Note that if this is set to true, then batch jobs can preempt any other jobs.
- `service_scheduler_enabled` `(bool: false)` - Specifies whether preemption for service jobs is enabled. Note that if this is set to true, then service jobs can preempt any other jobs.
- `sysbatch_scheduler_enabled` `(bool: false)` - Specifies whether preemption for sysbatch (system batch) jobs is enabled. Note that if this is set to true, then system batch jobs can preempt any other jobs.

0 comments on commit 9cb3cd5

Please sign in to comment.