Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
a5dcf6bb
Commit
a5dcf6bb
authored
8 years ago
by
Michael Schurter
Browse files
Options
Download
Email Patches
Plain Diff
Document `tls_skip_verify`
parent
4cf34edb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
website/source/docs/http/json-jobs.html.md
+4
-1
website/source/docs/http/json-jobs.html.md
website/source/docs/job-specification/service.html.md
+3
-0
website/source/docs/job-specification/service.html.md
website/source/docs/service-discovery/index.html.md
+2
-0
website/source/docs/service-discovery/index.html.md
with
9 additions
and
1 deletion
+9
-1
website/source/docs/http/json-jobs.html.md
+
4
-
1
View file @
a5dcf6bb
...
...
@@ -423,7 +423,7 @@ The `Task` object supports the following keys:
* `Timeout`: This indicates how long Consul will wait for a health
check query to succeed.
* `Path`:The path of the http endpoint which Consul will query to query
* `Path`:
The path of the http endpoint which Consul will query to query
the health of a service if the type of the check is `http`. Nomad
will add the IP of the service and the port, users are only required
to add the relative URL of the health check endpoint.
...
...
@@ -437,6 +437,9 @@ The `Task` object supports the following keys:
* `Args`: Additional arguments to the `command` for script based health
checks.
* `TLSSkipVerify`: If true, Consul will not attempt to verify the
certificate when performing HTTPS checks. Requires Consul >= 0.7.2.
*
`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.
website/source/docs/job-specification/service.html.md
+
3
-
0
View file @
a5dcf6bb
...
...
@@ -143,6 +143,9 @@ does not automatically enable service discovery.
-
`type`
`(string: <required>)`
- This indicates the check types supported by
Nomad. Valid options are
`script`
,
`http`
, and
`tcp`
.
-
`tls_skip_verify`
`(bool: false)`
- Skip verifying TLS certificates for HTTPS
checks. Requires Consul >= 0.7.2.
## `service` Examples
...
...
This diff is collapsed.
Click to expand it.
website/source/docs/service-discovery/index.html.md
+
2
-
0
View file @
a5dcf6bb
...
...
@@ -32,6 +32,8 @@ To configure a job to register with service discovery, please see the
## Assumptions
-
Consul 0.7.2 or later is needed for
`tls_skip_verify`
in HTTP checks.
-
Consul 0.6.4 or later is needed for using the Script checks.
-
Consul 0.6.0 or later is needed for using the TCP checks.
...
...
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
Menu
Projects
Groups
Snippets
Help