rpi.carlosedp.cluster-monit.../manifests/prometheus/prometheus-k8s-service-monitor-traefik.yaml
2018-03-01 19:03:53 -05:00

18 lines
328 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: traefik-ingress-lb
labels:
k8s-app: traefik-ingress-lb
spec:
jobLabel: k8s-app
endpoints:
- port: admin
interval: 30s
selector:
matchLabels:
k8s-app: traefik-ingress-lb
namespaceSelector:
matchNames:
- kube-system