apps/contour/resources/podmonitors.yaml

33 lines
606 B
YAML
Raw Normal View History

2024-05-19 09:44:36 +00:00
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: contour-pods
labels:
prometheus: default
spec:
selector:
matchLabels:
app: contour-contour
namespaceSelector:
matchNames:
- projectcontour
podMetricsEndpoints:
- port: metrics
path: /metrics
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: envoy-pods
labels:
prometheus: default
spec:
selector:
matchLabels:
app: envoy-contour
namespaceSelector:
matchNames:
- projectcontour
podMetricsEndpoints:
- port: metrics
path: /stats/prometheus