mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
User specifiable kill timeout and operator configurable max
This commit is contained in:
@@ -281,6 +281,11 @@ configured on server nodes.
|
||||
* <a id="network_speed">`network_speed`</a>: This is an int that sets the
|
||||
default link speed of network interfaces, in megabits, if their speed can
|
||||
not be determined dynamically.
|
||||
* `max_kill_timeout`: `max_kill_timeout` is a time duration that can be
|
||||
specified using the `s`, `m`, and `h` suffixes, such as `30s`. If a job's
|
||||
task specifies a `kill_timeout` greater than `max_kill_timeout`,
|
||||
`max_kill_timeout` is used. This is to prevent a user being able to set an
|
||||
unreasonable timeout. If unset, a default is used.
|
||||
|
||||
### Client Options Map <a id="options_map"></a>
|
||||
|
||||
|
||||
@@ -204,6 +204,10 @@ The `task` object supports the following keys:
|
||||
|
||||
* `meta` - Annotates the task group with opaque metadata.
|
||||
|
||||
* `kill_timeout` - `kill_timeout` is a time duration that can be specified using
|
||||
the `s`, `m`, and `h` suffixes, such as `30s`. It can be used to configure the
|
||||
time between signaling a task it will be killed and actually killing it.
|
||||
|
||||
### Resources
|
||||
|
||||
The `resources` object supports the following keys:
|
||||
|
||||
Reference in New Issue
Block a user