Skip to content

Commit

Permalink
docs: add note to reschedule block for update progress deadline. (#24346
Browse files Browse the repository at this point in the history
)

Co-authored-by: Aimee Ukasick <[email protected]>
  • Loading branch information
jrasell and aimeeu authored Nov 1, 2024
1 parent c18418f commit 58ea294
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions website/content/docs/job-specification/reschedule.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ they run on every node.
- `max_delay` `(string: <varies>)` - is an upper bound on the delay beyond which it will not increase. This parameter
is used when `delay_function` is `exponential` or `fibonacci`, and is ignored when `constant` delay is used.

- `unlimited` `(boolean:<varies>)` - `unlimited` enables unlimited reschedule attempts. If this is set to true
the `attempts` and `interval` fields are not used.
- `unlimited` `(boolean:<varies>)` - `unlimited` enables unlimited reschedule attempts. If this is
set to `true` the `attempts` and `interval` fields are not used. The [`progress_deadline`][]
parameter within the update block is still adhered to when this is set to `true`, meaning no more
reschedule attempts are triggered once the [`progress_deadline`][] is reached.

Information about reschedule attempts are displayed in the CLI and API for
allocations. Rescheduling is enabled by default for service and batch jobs
Expand Down Expand Up @@ -127,3 +129,5 @@ job "docs" {
}
}
```

[`progress_deadline`]: /nomad/docs/job-specification/update#progress_deadline

0 comments on commit 58ea294

Please sign in to comment.