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

14 lines
254 B
YAML
Raw Normal View History

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