# The monitoring component, for a cluster that runs the # prometheus-operator: a PodMonitor that scrapes the operator's metrics # port. It changes nothing in the base, so a cluster without the # prometheus-operator leaves it out. # # resources: # - # components: # - /monitoring # # A Prometheus that selects monitors by label needs that label added in # your overlay. apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component resources: - podmonitor.yaml