mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 14:09:41 -08:00
28 lines
564 B
YAML
28 lines
564 B
YAML
|
apiVersion: v1
|
||
|
kind: ReplicationController
|
||
|
metadata:
|
||
|
name: rabbitmq
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
app: rabbitmq
|
||
|
template:
|
||
|
metadata:
|
||
|
name: rabbitmq
|
||
|
labels:
|
||
|
app: rabbitmq
|
||
|
spec:
|
||
|
containers:
|
||
|
- image: rabbitmq:3.5.4-management
|
||
|
name: rabbitmq
|
||
|
ports:
|
||
|
- containerPort: 5672
|
||
|
name: service
|
||
|
- containerPort: 15672
|
||
|
name: management
|
||
|
- image: kbudde/rabbitmq-exporter
|
||
|
name: rabbitmq-exporter
|
||
|
ports:
|
||
|
- containerPort: 9090
|
||
|
name: exporter
|