prometheus operator v0.93.1

ScrapeConfig.spec.kubernetesSDConfigs[].selectors[].role

role defines the type of Kubernetes resource to limit the service discovery to. Accepted values are: Node, Pod, Endpoints, EndpointSlice, Service, Ingress.

1 fields
ScrapeConfig.spec.kubernetesSDConfigs[].selectors[].role fields and descriptions
Field / TypeDescription
ScrapeConfig.spec.kubernetesSDConfigs[].selectors[].role
string

role defines the type of Kubernetes resource to limit the service discovery to. Accepted values are: Node, Pod, Endpoints, EndpointSlice, Service, Ingress.

  • enum: ["Pod","Endpoints","Ingress","Service","Node","EndpointSlice"]