From d50a9a474c7dfedbc31c7b8a78baf3e0170b0128 Mon Sep 17 00:00:00 2001 From: Juana De La Cuesta Date: Mon, 3 Mar 2025 19:37:24 +0100 Subject: [PATCH] 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 --------- Co-authored-by: Tim Gross --- website/content/docs/commands/alloc/stop.mdx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/website/content/docs/commands/alloc/stop.mdx b/website/content/docs/commands/alloc/stop.mdx index 718d962d5..85ba09616 100644 --- a/website/content/docs/commands/alloc/stop.mdx +++ b/website/content/docs/commands/alloc/stop.mdx @@ -18,8 +18,10 @@ nomad alloc stop [options] 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