Fix rabbitmq podmonitor to scrap from all rabbitmq
Change-Id: Iecae25d387f2ee24a08474f2c6915655487e369f
This commit is contained in:
parent
abba4d237f
commit
02520101bc
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user