add traefik service monitor definition

This commit is contained in:
Tobias Brunner 2020-05-25 21:10:23 +02:00
parent 964466778f
commit 876807334f
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: traefik
namespace: monitoring
spec:
endpoints:
- interval: 30s
path: /metrics
port: metrics
namespaceSelector:
matchNames:
- kube-system
selector:
matchLabels:
app: traefik