video-iac/k8s/haproxy-monitoring/service-monitor.yaml

18 lines
366 B
YAML
Raw Normal View History

2021-10-28 18:15:01 +00:00
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: haproxy
labels:
app: haproxy
release: monitoring
spec:
selector:
matchLabels:
app.kubernetes.io/instance: haproxy-ingress
app.kubernetes.io/name: haproxy-ingress
namespaceSelector:
matchNames:
- ingress-controller
podMetricsEndpoints:
- port: exporter