This commit is contained in:
parent
612f946445
commit
14f24fb1da
1 changed files with 33 additions and 0 deletions
33
contour/resources/podmonitors.yaml
Normal file
33
contour/resources/podmonitors.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
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
|
Loading…
Reference in a new issue