mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
Add note to stop allocs for system allocs (#25263)
* docs: Add note to stop allocs to make sure system allocs are not rescheduled * Update stop.mdx * Update website/content/docs/commands/alloc/stop.mdx Co-authored-by: Tim Gross <tgross@hashicorp.com> --------- Co-authored-by: Tim Gross <tgross@hashicorp.com>
This commit is contained in:
committed by
GitHub
parent
7e8c7d2896
commit
d50a9a474c
@@ -18,8 +18,10 @@ nomad alloc stop [options] <allocation>
|
||||
|
||||
The `alloc stop` command requires a single argument, specifying the alloc ID or
|
||||
prefix to stop. If there is an exact match based on the provided alloc ID or
|
||||
prefix, then the alloc will be stopped and rescheduled. Otherwise, a list of
|
||||
matching allocs and information will be displayed.
|
||||
prefix, then the alloc will be stopped, otherwise, a list of
|
||||
matching allocs and information will be displayed. If the stopped allocation
|
||||
belongs to a service or batch job they will rescheduled according to their
|
||||
reschedule policy. [System allocs will not][] and will show up as completed.
|
||||
|
||||
Stop will issue a request to stop and reschedule the allocation. An interactive
|
||||
monitoring session will display log lines as the allocation completes shutting
|
||||
@@ -65,3 +67,4 @@ $ nomad alloc stop -detach eb17e557
|
||||
|
||||
[eval status]: /nomad/docs/commands/eval/status
|
||||
[`shutdown_delay`]: /nomad/docs/job-specification/group#shutdown_delay
|
||||
[system allocs will not]: /nomad/docs/job-specification/reschedule
|
||||
|
||||
Reference in New Issue
Block a user