From eb5512555df7f142cd1df796a2bc2b3eae396c99 Mon Sep 17 00:00:00 2001 From: fpetkovski Date: Wed, 16 Feb 2022 09:21:36 +0100 Subject: [PATCH] Update docs Signed-off-by: fpetkovski --- docs/configuration/configuration.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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