Skip to content

Commit

Permalink
Update docs for Consul metadata support
Browse files Browse the repository at this point in the history
  • Loading branch information
dsouzajude committed Jun 17, 2018
1 parent d91f662 commit ab7a235
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/user/services.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ These can be implicitly set from the Dockerfile or explicitly set with `docker r
You can also tell Registrator to ignore a container by setting a
label or environment variable for `SERVICE_IGNORE`.

If you need to ignore individual service on some container, you can use
If you need to ignore individual service on some container, you can use
`SERVICE_<port>_IGNORE=true`.

## Service Name
Expand Down Expand Up @@ -93,8 +93,10 @@ Docker-assigned internal IP of the container**.
## Tags and Attributes

Tags and attributes are extra metadata fields for services. Not all backends
support them. In fact, currently Consul supports tags and none support
attributes.
support them. In fact, currently Consul supports tags and more recently as of
version 1.0.7, it added support for attributes as well in the form of
[KV metadata](https://www.consul.io/api/agent/service.html#meta) but no other
backend supports attributes.

Attributes can also be used by backends for registry specific features, not just
generic metadata. For example, Consul uses them for [specifying HTTP health
Expand Down

0 comments on commit ab7a235

Please sign in to comment.