mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-25 19:05:44 +01:00
20 lines
385 B
YAML
20 lines
385 B
YAML
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
labels:
|
|
k8s-app: elasticsearch-exporter
|
|
name: elasticsearch-exporter
|
|
namespace: monitoring
|
|
spec:
|
|
endpoints:
|
|
- interval: 30s
|
|
port: es-metrics
|
|
scheme: http
|
|
jobLabel: k8s-app
|
|
namespaceSelector:
|
|
matchNames:
|
|
- monitoring
|
|
selector:
|
|
matchLabels:
|
|
k8s-app: elasticsearch-exporter
|