ActiveMQ Artemis web console through Kubernetes pod

2/20/2022

How should the web server binding be configured for a Kubernetes Pod running ActiveMQ Artemis?

I have tried to replace the localhost with the K8s service, but the web server fails to bind. The web bind config is:

<web path="web">
   <binding uri="http://<K8s service name>:8161">
      <app url="activemq-branding" war="activemq-branding.war"/>
      <app url="artemis-plugin" war="artemis-plugin.war"/>
      <app url="console" war="console.war"/>
   </binding>
</web>

There is an Exception raised java.io.IOException: Failed to bind to eric-eo-cm-data-message-bus-art.liamtest.svc.cluster.local/10.108.83.108:8161

The Exception shows an IP and I do not know where that is coming from

-- Liamkelly15
activemq-artemis
console
kubernetes

0 Answers