Fix rabbitmq podmonitor to scrap from all rabbitmq

Change-Id: Iecae25d387f2ee24a08474f2c6915655487e369f
This commit is contained in:
okozachenko 2020-07-17 18:35:57 +03:00
parent abba4d237f
commit 02520101bc

View File

@ -18,7 +18,7 @@ kind: PodMonitor
metadata: metadata:
name: rabbitmq-podmonitor name: rabbitmq-podmonitor
labels: labels:
{{ labels("rabbitmq", name) | indent(4) }} {{ labels("rabbitmq") | indent(4) }}
spec: spec:
podMetricsEndpoints: podMetricsEndpoints:
- interval: 15s - interval: 15s
@ -26,4 +26,6 @@ spec:
port: metrics port: metrics
selector: selector:
matchLabels: matchLabels:
{{ labels("rabbitmq", name) | indent(6) }} app.kubernetes.io/name: rabbitmq
app.kubernetes.io/managed-by: openstack-operator