webhookPodMonitor
A PodMonitor is a custom resource used by Prometheus Operator to discover and scrape metrics from Kubernetes pods.
It defines how Prometheus should find pods, which endpoints to scrape, and what labels or relabeling rules to apply.
The downscaler chart is able to automatically deploy a PodMonitor when requested
The following fields could be customized:
enableindicates whether the PodMonitor resource should be created.intervalspecifies the scraping interval of the main deployment.scrapeTimeoutspecifies scrape timeout of the main deployment.namespacespecifies the namespace where the PodMonitor is deployed (where Prometheus Operator is running).additionalLabelsspecifies extra labels to attach to the PodMonitor resource.relabelingsspecifies relabeling configs applied to target labels before scraping.metricRelabelingsspecifies relabeling configs applied to metrics after scraping.
info
The default values for webhookController.podMonitor are:
webhookController:
podMonitor:
enabled: false
interval: "1m"
scrapeTimeout: "10s"
namespace: ""
additionalLabels: {}
relabelings: []
metricRelabelings: []
User must take care of configuring this object