1
0
Fork 0
home-stack-kustomize/kustomize/overlays/monitoring/podmonitors/traefik.yaml

16 lines
322 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: traefik
labels:
app.kubernetes.io/name: traefik
monitor: prometheus
spec:
namespaceSelector:
matchNames:
- kube-system
selector:
matchLabels:
app.kubernetes.io/name: traefik
podMetricsEndpoints:
- port: metrics