forked from k-space/kube
elastic-system: Add PodMonitor for exporter
This commit is contained in:
parent
00f8bfef6c
commit
df6e268eda
@ -315,3 +315,14 @@ spec:
|
||||
beat.k8s.elastic.co/name: filebeat
|
||||
podMetricsEndpoints:
|
||||
- port: exporter
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PodMonitor
|
||||
metadata:
|
||||
name: elasticsearch
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: elasticsearch-exporter
|
||||
podMetricsEndpoints:
|
||||
- port: exporter
|
||||
|
Loading…
Reference in New Issue
Block a user