1
0
forked from k-space/kube

elastic-system: Add PodMonitor for exporter

This commit is contained in:
Lauri Võsandi 2022-09-30 10:33:41 +03:00
parent 00f8bfef6c
commit df6e268eda

View File

@ -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