prometheus/documentation/examples/kubernetes-rabbitmq/rc.yml

28 lines
600 B
YAML
Raw Normal View History

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