Auto-generated derived type for PodMonitorSpec via CustomResource
attachMetadata
defines additional metadata which is added to the
discovered targets.
Selector to select which namespaces the Kubernetes Pods
objects
are discovered from.
PodMetricsEndpoint defines an endpoint serving Prometheus metrics to be scraped by
Prometheus.
authorization
configures the Authorization header credentials to use when
scraping the target.
Selects a key of a Secret in the namespace that contains the credentials for authentication.
basicAuth
configures the Basic Authentication credentials to use when
scraping the target.
password
specifies a key of a Secret containing the password for
authentication.
username
specifies a key of a Secret containing the username for
authentication.
bearerTokenSecret
specifies a key of a Secret containing the bearer
token for scraping targets. The secret needs to be in the same namespace
as the PodMonitor object and readable by the Prometheus Operator.
RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
scraped samples and remote write samples.
oauth2
configures the OAuth2 settings to use when scraping the target.
clientId
specifies a key of a Secret or ConfigMap containing the
OAuth2 client’s ID.
ConfigMap containing data to use for the targets.
Secret containing data to use for the targets.
clientSecret
specifies a key of a Secret containing the OAuth2
client’s secret.
RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
scraped samples and remote write samples.
TLS configuration to use when scraping the target.
Certificate authority used when verifying server certificates.
ConfigMap containing data to use for the targets.
Secret containing data to use for the targets.
Client certificate to present when doing client-authentication.
ConfigMap containing data to use for the targets.
Secret containing data to use for the targets.
Secret containing the client key file for the targets.
Label selector to select the Kubernetes Pod
objects.
A label selector requirement is a selector that contains values, a key, and an operator that
relates the key and values.
Specification of desired Pod selection for target discovery by Prometheus.