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