mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
annotate 1.1 beta fields
This commit is contained in:
@@ -64,7 +64,7 @@ $ curl \
|
||||
|
||||
- `SchedulerAlgorithm` `(string: "binpack")` - Specifies whether scheduler binpacks or spreads allocations on available nodes.
|
||||
|
||||
- `MemoryOversubscriptionEnabled` `(bool: false)` - When `true`, tasks may exceed their reserved memory limit, if the client has excess memory capacity. Tasks must specify [`memory_max`](/docs/job-specification/resources#memory_max) to take advantage of memory oversubscription.
|
||||
- `MemoryOversubscriptionEnabled` `(bool: false)` <sup>1.1 Beta</sup> - When `true`, tasks may exceed their reserved memory limit, if the client has excess memory capacity. Tasks must specify [`memory_max`](/docs/job-specification/resources#memory_max) to take advantage of memory oversubscription.
|
||||
|
||||
- `PreemptionConfig` `(PreemptionConfig)` - Options to enable preemption for various schedulers.
|
||||
|
||||
@@ -126,7 +126,7 @@ server state is authoritative.
|
||||
binpacks or spreads allocations on available nodes. Possible values are
|
||||
`"binpack"` and `"spread"`
|
||||
|
||||
- `MemoryOversubscriptionEnabled` `(bool: false)` - When `true`, tasks may exceed their reserved memory limit, if the client has excess memory capacity. Tasks must specify [`memory_max`](/docs/job-specification/resources#memory_max) to take advantage of memory oversubscription.
|
||||
- `MemoryOversubscriptionEnabled` `(bool: false)` <sup>1.1 Beta</sup> - When `true`, tasks may exceed their reserved memory limit, if the client has excess memory capacity. Tasks must specify [`memory_max`](/docs/job-specification/resources#memory_max) to take advantage of memory oversubscription.
|
||||
|
||||
- `PreemptionConfig` `(PreemptionConfig)` - Options to enable preemption for
|
||||
various schedulers.
|
||||
|
||||
@@ -34,12 +34,12 @@ job "docs" {
|
||||
|
||||
- `cpu` `(int: 100)` - Specifies the CPU required to run this task in MHz.
|
||||
|
||||
- `cores` <code>(`int`: <optional>)</code> - Specifies the number of CPU cores to reserve
|
||||
- `cores` <code>(`int`: <optional>)</code> <sup>1.1 Beta</sup> - Specifies the number of CPU cores to reserve
|
||||
for the task. This may not be used with `cpu`.
|
||||
|
||||
- `memory` `(int: 300)` - Specifies the memory required in MB.
|
||||
|
||||
- `memory_max` <code>(`int`: <optional>)</code> - Optionally, specifies the maximum memory the task may use, if the client has excess memory capacity, in MB.
|
||||
- `memory_max` <code>(`int`: <optional>)</code> <sup>1.1 Beta</sup> - Optionally, specifies the maximum memory the task may use, if the client has excess memory capacity, in MB.
|
||||
|
||||
- `device` <code>([Device][]: <optional>)</code> - Specifies the device
|
||||
requirements. This may be repeated to request multiple device types.
|
||||
|
||||
Reference in New Issue
Block a user