prometheus operator v0.93.1
ScrapeConfig.spec.ec2SDConfigs[].tlsConfig.cert.secret.spec.kubernetesSDConfigs.selectors
selectors defines the selector to select objects. It requires Prometheus >= v2.17.0
| Field / Type | Description |
|---|---|
field | field defines an optional field selector to limit the service discovery to resources which have fields with specific values. e.g: `metadata.name=foobar`
|
label | label defines an optional label selector to limit the service discovery to resources with specific labels and label values. e.g: `node.kubernetes.io/instance-type=master`
|
role | role defines the type of Kubernetes resource to limit the service discovery to. Accepted values are: Node, Pod, Endpoints, EndpointSlice, Service, Ingress.
|