open-nomad/website/content/docs/commands
Tim Gross a0cf5db797
provide -no-shutdown-delay flag for job/alloc stop (#11596)
Some operators use very long group/task `shutdown_delay` settings to
safely drain network connections to their workloads after service
deregistration. But during incident response, they may want to cause
that drain to be skipped so they can quickly shed load.

Provide a `-no-shutdown-delay` flag on the `nomad alloc stop` and
`nomad job stop` commands that bypasses the delay. This sets a new
desired transition state on the affected allocations that the
allocation/task runner will identify during pre-kill on the client.

Note (as documented here) that using this flag will almost always
result in failed inbound network connections for workloads as the
tasks will exit before clients receive updated service discovery
information and won't be gracefully drained.
2021-12-13 14:54:53 -05:00
..
acl docs: update acl bootstrap command to show json and template opts. 2021-10-29 09:01:58 +02:00
alloc provide -no-shutdown-delay flag for job/alloc stop (#11596) 2021-12-13 14:54:53 -05:00
deployment Update deployment status doc example output 2021-07-16 09:58:58 -04:00
job provide -no-shutdown-delay flag for job/alloc stop (#11596) 2021-12-13 14:54:53 -05:00
license website: adding trial links 2021-05-07 08:17:17 -04:00
namespace feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
node Node Drain Metadata (#10250) 2021-05-07 13:58:40 -04:00
operator debug: update default node-id and docs (#11398) 2021-10-27 13:43:56 -04:00
plugin feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
quota feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
recommendation feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
scaling feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
sentinel feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
server feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
system feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
volume typo - capability (#11152) 2021-09-08 14:34:02 -07:00
agent-info.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
agent.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
eval-status.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
index.mdx Adding environment variables to Command overview page 2021-05-03 08:12:45 -04:00
monitor.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
status.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
ui.mdx cli: allow setting namespace and region in the nomad ui command (#11364) 2021-10-21 16:24:39 -04:00
version.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00