prometheus operator v0.93.1

PodMonitor.spec.podMetricsEndpoints[].oauth2.proxyConnectHeader.spec.namespaceSelector

namespaceSelector defines in which namespace(s) Prometheus should discover the pods. By default, the pods are discovered in the same namespace as the `PodMonitor` object but it is possible to select pods across different/all namespaces.

2 fields
PodMonitor.spec.podMetricsEndpoints[].oauth2.proxyConnectHeader.spec.namespaceSelector fields and descriptions
Field / TypeDescription
any
boolean

any defines the boolean describing whether all namespaces are selected in contrast to a list restricting them.

string[]

matchNames defines the list of namespace names to select from.