diff --git a/docs/configuration/configuration.md b/docs/configuration/configuration.md index 510769257d..9e6e2af2a5 100644 --- a/docs/configuration/configuration.md +++ b/docs/configuration/configuration.md @@ -1707,8 +1707,9 @@ namespaces: # Optional label and field selectors to limit the discovery process to a subset of available resources. # See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/ # and https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ to learn more about the possible -# filters that can be used. Endpoints role supports pod, service and endpoints selectors, other roles -# only support selectors matching the role itself (e.g. node role can only contain node selectors). +# 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: When making decision about using field/label selector make sure that this # is the best approach - it will prevent Prometheus from reusing single list/watch