33 lines
606 B
YAML
33 lines
606 B
YAML
|
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
|