
apiVersion: v1
kind: Service
metadata:
  name: rabbitmq
  labels:
    app: rabbitmq
spec:
  ports:
    - name: rabbit
      port: 5672
    - name: management
      port: 15672
  selector:
   app: rabbitmq
  type: LoadBalancer