k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/pkg/prometheus/manifests/default/prometheus-podMonitorDNSPerf.yaml (about) 1 {{$ENABLE_DNSTESTS := DefaultParam .CL2_ENABLE_DNSTESTS false}} 2 3 {{if $ENABLE_DNSTESTS}} 4 apiVersion: monitoring.coreos.com/v1 5 kind: PodMonitor 6 metadata: 7 labels: 8 k8s-app: dns-client-pods 9 name: dns-client-pods 10 namespace: monitoring 11 spec: 12 podMetricsEndpoints: 13 - interval: 30s 14 port: dnsperfmetrics 15 jobLabel: k8s-app 16 selector: 17 matchLabels: 18 dns-test: dnsperfgo 19 namespaceSelector: 20 any: true 21 {{end}}