Skip to content

Commit

Permalink
webiste: add docs for memory_oversubscription_enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
lgfa29 committed May 11, 2021
1 parent cf11454 commit 0a8fed4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions website/docs/d/scheduler_config.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ data "nomad_scheduler_config" "global" {}

The following attributes are exported:

* `memory_oversubscription_enabled` `(bool: false)` - When `true`, tasks may exceed their reserved memory limit.
* `scheduler_algorithm` `(string)` - Specifies whether scheduler binpacks or spreads allocations on available nodes.
* `preemption_config` `(map[string]bool)` - Options to enable preemption for various schedulers.
3 changes: 2 additions & 1 deletion website/docs/r/scheduler_config.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ resource "nomad_scheduler_config" "config" {

The following arguments are supported:

- `algorithm` `(string: "binpack")` - Specifies whether scheduler binpacks or spreads allocations on available nodes. Possible values are `binpack` and `spread`.
- `memory_oversubscription_enabled` `(bool: false)` - When `true`, tasks may exceed their reserved memory limit.
- `scheduler_algorithm` `(string: "binpack")` - Specifies whether scheduler binpacks or spreads allocations on available nodes. Possible values are `binpack` and `spread`.
- `preemption_config` `(map[string]bool)` - Options to enable preemption for various schedulers.
- `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.
Expand Down

0 comments on commit 0a8fed4

Please sign in to comment.