K3s-cluster/traefik/traefik-internal/servicemonitor.yaml

14 lines
248 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: traefik-inter
labels:
team: core
spec:
selector:
matchLabels:
app.kubernetes.io/name: traefik-inter
endpoints:
- port: metrics
path: /metrics