openshiftactivemq-classic

OpenShift container platform 4 how to open the activemq console


I've created an activemq application (docker image rmohr/activemq) in Openshift 4. The application is up and running. Now I would like to connect to the activemq console which is supposed to run on port 8161. When I click op the "Open URL" button next to the application icon, a URL opens in a browser. I then add the port number 8161 at the end of the url, but a "502 Bad Gateway" is returned. How can the activemq console be opened in a browser ?

enter image description here

enter image description here

enter image description here


Solution

  • You need to create an Openshift route to access AMQ console outside from cluster. https://docs.openshift.com/container-platform/3.11/dev_guide/routes.html