Skip to content

Commit

Permalink
Clarification and fixing typos in discovery.kubernetes.md (#4509) (#4535
Browse files Browse the repository at this point in the history
)

* 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>
  • Loading branch information
grafanabot and thampiotr committed Jul 20, 2023
1 parent 3e08fa1 commit 351688d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@ Name | Type | Description | Default | Required
See Kubernetes' documentation for [Field selectors][] and [Labels and
selectors][] to learn more about the possible filters that can be used.

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).

> **Note**: Using multiple `discovery.kubernetes` components with different
> selectors may result in a bigger load against the Kubernetes API.
>
Expand All @@ -299,7 +303,7 @@ selectors][] to learn more about the possible filters that can be used.
> instead.
[Field selectors]: https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/
[Labels and selectros]: https://Kubernetes.io/docs/concepts/overview/working-with-objects/labels/
[Labels and selectors]: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
[discovery.relabel]: {{< relref "./discovery.relabel.md" >}}

### attach_metadata block
Expand Down

0 comments on commit 351688d

Please sign in to comment.