prometheus operator v0.93.1

ScrapeConfig.spec.kumaSDConfigs.oauth2.tlsConfig.keySecret.spec.kubernetesSDConfigs.attachMetadata

attachMetadata defines the metadata to attach to discovered targets. It requires Prometheus >= v2.35.0 when using the `Pod` role and Prometheus >= v2.37.0 for `Endpoints` and `Endpointslice` roles.

1 fields
ScrapeConfig.spec.kumaSDConfigs.oauth2.tlsConfig.keySecret.spec.kubernetesSDConfigs.attachMetadata fields and descriptions
Field / TypeDescription
node
boolean

node attaches node metadata to discovered targets. When set to true, Prometheus must have the `get` permission on the `Nodes` objects. Only valid for Pod, Endpoint and Endpointslice roles.