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/.
| Field / Type | Description |
|---|---|
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/. |