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