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

14 lines
292 B
YAML

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