-
Notifications
You must be signed in to change notification settings - Fork 486
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
Clarification and fixing typos in discovery.kubernetes.md #4509
Conversation
The endpoints role supports pod, service and endpoints selectors. | ||
The pod role supports node selectors when configured with `attach_metadata: {node: true}`. | ||
Other roles only support selectors matching the role itself (e.g. node role can only contain node selectors). | ||
|
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.
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, though I'll defer to @clayton-cornell 😃
Co-authored-by: Mischa Thompson <mischabear@gmail.com>
No rush with this one @clayton-cornell - feel free to merge it when you get to review it :) |
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.
Typos happen. LGTM, merging
* Fix typos in discovery.kubernetes.md * Update discovery.kubernetes.md * Update docs/sources/flow/reference/components/discovery.kubernetes.md Co-authored-by: Mischa Thompson <mischabear@gmail.com> --------- Co-authored-by: Mischa Thompson <mischabear@gmail.com> (cherry picked from commit 76fee88)
* Fix typos in discovery.kubernetes.md * Update discovery.kubernetes.md * Update docs/sources/flow/reference/components/discovery.kubernetes.md Co-authored-by: Mischa Thompson <mischabear@gmail.com> --------- Co-authored-by: Mischa Thompson <mischabear@gmail.com> (cherry picked from commit 76fee88)
* Fix typos in discovery.kubernetes.md * Update discovery.kubernetes.md * Update docs/sources/flow/reference/components/discovery.kubernetes.md Co-authored-by: Mischa Thompson <mischabear@gmail.com> --------- Co-authored-by: Mischa Thompson <mischabear@gmail.com> (cherry picked from commit 76fee88)
) * Fix typos in discovery.kubernetes.md * Update discovery.kubernetes.md * Update docs/sources/flow/reference/components/discovery.kubernetes.md Co-authored-by: Mischa Thompson <mischabear@gmail.com> --------- Co-authored-by: Mischa Thompson <mischabear@gmail.com> (cherry picked from commit 76fee88) Co-authored-by: Piotr <17101802+thampiotr@users.noreply.github.com>
) * Fix typos in discovery.kubernetes.md * Update discovery.kubernetes.md * Update docs/sources/flow/reference/components/discovery.kubernetes.md Co-authored-by: Mischa Thompson <mischabear@gmail.com> --------- Co-authored-by: Mischa Thompson <mischabear@gmail.com> (cherry picked from commit 76fee88) Co-authored-by: Piotr <17101802+thampiotr@users.noreply.github.com>
) * Fix typos in discovery.kubernetes.md * Update discovery.kubernetes.md * Update docs/sources/flow/reference/components/discovery.kubernetes.md Co-authored-by: Mischa Thompson <mischabear@gmail.com> --------- Co-authored-by: Mischa Thompson <mischabear@gmail.com> (cherry picked from commit 76fee88) Co-authored-by: Piotr <17101802+thampiotr@users.noreply.github.com>
* Fix typos in discovery.kubernetes.md * Update discovery.kubernetes.md * Update docs/sources/flow/reference/components/discovery.kubernetes.md Co-authored-by: Mischa Thompson <mischabear@gmail.com> --------- Co-authored-by: Mischa Thompson <mischabear@gmail.com>
* Fix typos in discovery.kubernetes.md * Update discovery.kubernetes.md * Update docs/sources/flow/reference/components/discovery.kubernetes.md Co-authored-by: Mischa Thompson <mischabear@gmail.com> --------- Co-authored-by: Mischa Thompson <mischabear@gmail.com>
PR Description
We've received a question regarding the selectors/role attribute - why wouldn't it always match the top-level role attribute.
Turns out there is a use case for this as documented in prometheus docs - porting this explanation to our docs with this PR.
Also fixes some typos and a broken link.