prometheus operator v0.93.1

ScrapeConfig.spec.lightSailSDConfigs.tlsConfig.cert.configMap.spec.kubernetesSDConfigs.namespaces

namespaces defines the namespace discovery. If omitted, Prometheus discovers targets across all namespaces.

2 fields
ScrapeConfig.spec.lightSailSDConfigs.tlsConfig.cert.configMap.spec.kubernetesSDConfigs.namespaces fields and descriptions
Field / TypeDescription
string[]

names defines a list of namespaces where to watch for resources. If empty and `ownNamespace` isn't true, Prometheus watches for resources in all namespaces.

  • x-kubernetes-list-type: "set"
ownNamespace
boolean

ownNamespace includes the namespace in which the Prometheus pod runs to the list of watched namespaces.