apiVersion: v1
kind: Service
metadata:
  labels:
    app: rabbitmq
  name: rabbitmq
spec:
  ports:
  - name: api-daemon-port
    port: 5672
    targetPort: 5672
    protocol: TCP
  - name: gui-port
    port: 15672
    targetPort: 15672
    protocol: TCP
  selector:
    app: rabbitmq
