k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/pkg/prometheus/manifests/default/prometheus-podMonitorCiliumOperator.yaml (about) 1 {{$PROMETHEUS_SCRAPE_CILIUM_OPERATOR := DefaultParam .PROMETHEUS_SCRAPE_CILIUM_OPERATOR false}} 2 3 {{if $PROMETHEUS_SCRAPE_CILIUM_OPERATOR}} 4 apiVersion: monitoring.coreos.com/v1 5 kind: PodMonitor 6 metadata: 7 labels: 8 k8s-app: cilium-operator-pods 9 name: cilium-operator-pods 10 namespace: monitoring 11 spec: 12 podMetricsEndpoints: 13 - interval: 10s 14 port: advdpopmetrics 15 jobLabel: k8s-app 16 selector: 17 matchLabels: 18 io.cilium/app: operator 19 namespaceSelector: 20 matchNames: 21 - kube-system 22 {{end}}