mirror of https://github.com/status-im/consul.git
Move the note about checks to its own line.
This commit is contained in:
parent
917b10417d
commit
1346cf1a00
|
@ -58,15 +58,16 @@ the DNS interface as well. If a service is failing its health check or a
|
||||||
node has any failing system-level check, the DNS interface will omit that
|
node has any failing system-level check, the DNS interface will omit that
|
||||||
node from any service query.
|
node from any service query.
|
||||||
|
|
||||||
Note: there is more information about [checks here](/docs/agent/checks.html). The
|
The check must be of the script, HTTP, or TTL type. If it is a script type, `script`
|
||||||
check must be of the script, HTTP, or TTL type. If it is a script type, `script` and
|
and `interval` must be provided. If it is a HTTP type, `http` and
|
||||||
`interval` must be provided. If it is a HTTP type, `http` and
|
|
||||||
`interval` must be provided. If it is a TTL type, then only `ttl` must be
|
`interval` must be provided. If it is a TTL type, then only `ttl` must be
|
||||||
provided. The check name is automatically generated as
|
provided. The check name is automatically generated as
|
||||||
`service:<service-id>`. If there are multiple service checks registered, the
|
`service:<service-id>`. If there are multiple service checks registered, the
|
||||||
ID will be generated as `service:<service-id>:<num>` where `<num>` is an
|
ID will be generated as `service:<service-id>:<num>` where `<num>` is an
|
||||||
incrementing number starting from `1`.
|
incrementing number starting from `1`.
|
||||||
|
|
||||||
|
Note: there is more information about [checks here](/docs/agent/checks.html).
|
||||||
|
|
||||||
To configure a service, either provide it as a `-config-file` option to the
|
To configure a service, either provide it as a `-config-file` option to the
|
||||||
agent or place it inside the `-config-dir` of the agent. The file must
|
agent or place it inside the `-config-dir` of the agent. The file must
|
||||||
end in the ".json" extension to be loaded by Consul. Check definitions can
|
end in the ".json" extension to be loaded by Consul. Check definitions can
|
||||||
|
|
Loading…
Reference in New Issue