openshift-rabbitmq-cluster
openshift-rabbitmq-cluster copied to clipboard
how do i expose rabbitmq to external access?
This template creates two services:
- rabbitmq-cluster (5672/TCP (amqp) 5672)
- rabbitmq-cluster-balancer (15672/TCP (http) 15672 and 5672/TCP (amqp) 5672)
How do i expose the 5672 to external traffic? I created routes to either services but client's can't. Any suggestions?
Thanks
Only solution that I'm aware of is using NodePort.
The reason why clients can't connect is because routes only support below protocols
- HTTP
- HTTPS (with SNI)
- WebSockets
- TLS with SNI
Cheers, Max
You could also use the WebStomp plugin to expose a WebStomp access point using an OpenShift HTTPS route. Note that this isn't AMQP. It's a Websocket protocol.