Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
32d782de
Commit
32d782de
authored
7 years ago
by
Michael Schurter
Browse files
Options
Download
Email Patches
Plain Diff
Add ShutdownDelay to JSON Job docs
parent
ecf0d20a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
website/source/api/json-jobs.html.md
+6
-0
website/source/api/json-jobs.html.md
with
6 additions
and
0 deletions
+6
-0
website/source/api/json-jobs.html.md
+
6
-
0
View file @
32d782de
...
...
@@ -367,6 +367,12 @@ The `Task` object supports the following keys:
- `TLSSkipVerify`: If true, Consul will not attempt to verify the
certificate when performing HTTPS checks. Requires Consul >= 0.7.2.
-
`ShutdownDelay`
- Specifies the duration to wait when killing a task between
removing it from Consul and sending it a shutdown signal. Ideally services
would fail healthchecks once they receive a shutdown signal. Alternatively
`ShutdownDelay`
may be set to give in flight requests time to complete before
shutting down.
-
`Templates`
- Specifies the set of
[
`Template`
](
#template
)
objects to render for the task.
Templates can be used to inject both static and dynamic configuration with
data populated from environment variables, Consul and Vault.
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment