traefik-servicemonitor.yaml 325 B

123456789101112131415161718
  1. apiVersion: monitoring.coreos.com/v1
  2. kind: ServiceMonitor
  3. metadata:
  4. labels:
  5. app: traefik
  6. release: prometheus
  7. name: traefik
  8. name: traefik
  9. namespace: monitoring
  10. spec:
  11. endpoints:
  12. - port: metrics
  13. namespaceSelector:
  14. matchNames:
  15. - kube-system
  16. selector:
  17. matchLabels:
  18. app: traefik-metrics