diff --git a/docs/sources/flow/reference/components/discovery.kubernetes.md b/docs/sources/flow/reference/components/discovery.kubernetes.md index ab61970dbc72..b4fbc9b6ca24 100644 --- a/docs/sources/flow/reference/components/discovery.kubernetes.md +++ b/docs/sources/flow/reference/components/discovery.kubernetes.md @@ -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. > @@ -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