prometheus operator v0.71.2

ScrapeConfig.spec.kubernetesSDConfigs[].apiServer

The API server address consisting of a hostname or IP address followed by an optional port number. If left empty, Prometheus is assumed to run inside of the cluster. It will discover API servers automatically and use the pod's CA certificate and bearer token file at /var/run/secrets/kubernetes.io/serviceaccount/.

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

The API server address consisting of a hostname or IP address followed by an optional port number. If left empty, Prometheus is assumed to run inside of the cluster. It will discover API servers automatically and use the pod's CA certificate and bearer token file at /var/run/secrets/kubernetes.io/serviceaccount/.