traefik-servicemonitor.yaml 312 B

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