nats chart provisoning
This commit is contained in:
13
opencloud/charts/nats/files/pod-monitor.yaml
Normal file
13
opencloud/charts/nats/files/pod-monitor.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PodMonitor
|
||||
metadata:
|
||||
{{- include "nats.metadataNamespace" $ | nindent 2 }}
|
||||
name: {{ .Values.promExporter.podMonitor.name }}
|
||||
labels:
|
||||
{{- include "nats.labels" $ | nindent 4 }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "nats.selectorLabels" $ | nindent 6 }}
|
||||
podMetricsEndpoints:
|
||||
- port: prom-metrics
|
||||
Reference in New Issue
Block a user