docs: fix alloc stop `no_shutdown_delay` (#16282)

This commit is contained in:
Luiz Aoqui 2023-03-03 14:44:49 -05:00 committed by GitHub
parent 1d051d834d
commit 40494e64a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -39,7 +39,7 @@ Stop Specific Options:
eval-status command.
-no-shutdown-delay
Ignore the the group and task shutdown_delay configuration so there is no
Ignore the the group and task shutdown_delay configuration so there is no
delay between service deregistration and task shutdown. Note that using
this flag will result in failed network connections to the allocation
being stopped.

View File

@ -647,6 +647,11 @@ The table below shows this endpoint's support for
must be the full UUID, not the short 8-character one. This is specified as
part of the path.
- `no_shutdown_delay` `(bool: false)` - Ignore the group and task
[`shutdown_delay`] configuration so that there is no delay between service
deregistration and task shutdown. Note that using this parameter will result
in failed network connections to the allocation being stopped.
### Sample Request
```shell-session
@ -905,3 +910,5 @@ $ curl \
}
]
```
[`shutdown_delay`]: /nomad/docs/job-specification/group#shutdown_delay