add traefik VMPodScrape via cnpg-cluster manifests instead of multi-source

This commit is contained in:
Alexander Rogov
2026-06-26 20:50:07 +03:00
parent 4374c8cead
commit 5335b8e14d
2 changed files with 6 additions and 12 deletions

View File

@@ -0,0 +1,15 @@
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMPodScrape
metadata:
name: traefik
namespace: traefik
spec:
namespaceSelector:
matchNames:
- traefik
podMetricsEndpoints:
- port: metrics
path: /metrics
selector:
matchLabels:
app.kubernetes.io/name: traefik