-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: all enterprise locality labels now optional #14679
docs: all enterprise locality labels now optional #14679
Conversation
ff9a3c0
to
e234987
Compare
1429019
to
b24b802
Compare
b24b802
to
90aab0b
Compare
@trujillo-adam : tagging you, since you were involved in the recent review of this section: #14389 This PR is a change of the existing section to account for new functionality targeting release in 1.14. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few suggestions and corrections.
```text | ||
[<tag>.]<service>.service[.<namespace>.ns][.<partition>.ap][.<datacenter>.dc]<domain> | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the [prepared query lookup format](#prepared-query-lookups) for `.query` lookups. | |
Correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the suggestion. It's best to redirect people to where they need to go.
Unfortunately, my understanding is that prepared queries don't support enterprise locality labels at all. And if that's true, maybe that's what needs to be stated explicitly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll avoid making this change in this PR.
I'll make it in a follow-up PR because it requires some updates to the prepared query docs as well, and I don't want to delay the merging of the enterprise code PR for that follow-up PR.
@trujillo-adam : I believe I've addressed your feedback. Ready for re-review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Documenting capabilities introduced by a Consul Enterprise PR (3072).
Preview: https://consul-cuhodfsls-hashicorp.vercel.app/docs/discovery/dns#service-lookups-for-consul-enterprise