prometheus operator v0.71.2
ScrapeConfig.spec.dnsSDConfigs[]
DNSSDConfig allows specifying a set of DNS domain names which are periodically queried to discover a list of targets. The DNS servers to be contacted are read from /etc/resolv.conf. See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#dns_sd_config
| Field / Type | Description |
|---|---|
A list of DNS domain names to be queried.
| |
port | The port number used if the query type is not SRV Ignored for SRV records |
refreshInterval | RefreshInterval configures the time after which the provided names are refreshed. If not set, Prometheus uses its default value.
|
type | The type of DNS query to perform. One of SRV, A, AAAA or MX. If not set, Prometheus uses its default value.
|