fix(helm,podmonitor): add podMonitorSelector for gateway metrics configuration (#3022)

This commit is contained in:
steven
2025-12-26 17:25:06 +08:00
committed by GitHub
parent 38d50bbdad
commit 4babdb6a4f
4 changed files with 10 additions and 0 deletions

View File

@@ -530,6 +530,11 @@ gateway:
metrics:
# -- If true, create PodMonitor or VMPodScrape for gateway
enabled: false
# -- Selector for PodMonitor
# When using monitoring.coreos.com/v1.PodMonitor, the selector must match
# the label "release: kube-prome" is the default for kube-prometheus-stack
podMonitorSelector:
release: kube-prome
# -- provider group name for CustomResourceDefinition, can be monitoring.coreos.com or operator.victoriametrics.com
provider: monitoring.coreos.com
interval: ""