---
apiVersion: v1
kind: Service
metadata:
  name: rabbitmq
  labels:
    name: rabbitmq
  namespace: sock-shop
  annotations:
    prometheus.io/scrape: "true"
spec:
  ports:
    # the port that this service should serve on
  - name: rabbitmq
    port: 5672
    targetPort: rabbitmq
  - name: exporter
    port: 9090
    targetPort: exporter
    protocol: TCP
  - name: epmd
    port: 4369
    targetPort: epmd
  - name: dist
    port: 25672
    targetPort: dist
  - name: management
    port: 15672
    targetPort: management
  selector:
    name: rabbitmq
