mirror of https://github.com/status-im/consul.git
Update to registering services via Catalog API
This commit is contained in:
parent
409c901f8e
commit
9e91906664
|
@ -54,7 +54,8 @@ The table below shows this endpoint's support for
|
||||||
- `Service` `(Service: nil)` - Specifies to register a service. If `ID` is not
|
- `Service` `(Service: nil)` - Specifies to register a service. If `ID` is not
|
||||||
provided, it will be defaulted to the value of the `Service.Service` property.
|
provided, it will be defaulted to the value of the `Service.Service` property.
|
||||||
Only one service with a given `ID` may be present per node. The service
|
Only one service with a given `ID` may be present per node. The service
|
||||||
`Tags`, `Address`, `Meta`, and `Port` fields are all optional.
|
`Tags`, `Address`, `Meta`, and `Port` fields are all optional. For more
|
||||||
|
infomation about these fields, see the [Service - Agent API](https://www.consul.io/api/agent/service.html) page
|
||||||
|
|
||||||
- `Check` `(Check: nil)` - Specifies to register a check. The register API
|
- `Check` `(Check: nil)` - Specifies to register a check. The register API
|
||||||
manipulates the health check entry in the Catalog, but it does not setup the
|
manipulates the health check entry in the Catalog, but it does not setup the
|
||||||
|
|
Loading…
Reference in New Issue