kind: Service
apiVersion: v1
metadata:
  namespace: rabbitmq-test
  name: rabbitmq-internal-client
spec:
  type: NodePort
  ports:
   - name: http
     port: 15672
     targetPort: 15672
     nodePort: 31672
     protocol: TCP

   - name: amqp
     port: 5672
     targetPort: 5672
     nodePort: 30672
     protocol: TCP

   - name: prometheus
     port: 15692
     targetPort: 15692
     nodePort: 30692
     protocol: TCP

  selector:
    app: rabbitmq
