prometheus operator v0.93.1

Prometheus.spec.excludedFromEnforcement[]

ObjectReference references a PodMonitor, ServiceMonitor, Probe or PrometheusRule object.

4 fields
Prometheus.spec.excludedFromEnforcement[] fields and descriptions
Field / TypeDescription
group
string

group of the referent. When not specified, it defaults to `monitoring.coreos.com`

  • enum: ["monitoring.coreos.com"]
  • default: "monitoring.coreos.com"
name
string

name of the referent. When not set, all resources in the namespace are matched.

namespace
string required

namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

  • minLength: 1
resource
string required

resource of the referent.

  • enum: ["prometheusrules","servicemonitors","podmonitors","probes","scrapeconfigs"]