apiVersion: v1
kind: Service
metadata:
  labels:
    run: queue
  name: queue
  namespace: default
spec:
  ports:
  - name: port-1
    port: 15672
    protocol: TCP
    targetPort: 15672
  - name: port-2
    port: 5672
    protocol: TCP
    targetPort: 5672
  selector:
    run: queue
  type: ClusterIP
