prometheus/documentation/examples/kubernetes-rabbitmq/rc.yml
2016-01-23 16:38:24 -02:00

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