Hi,
I have an application that looks for a host named activemq with port 61616. I have a Deployment and Service for activemq running. I don’t want to add an entry activemq to the node’s /etc/hosts. I also don’t want to add hostAliases to my yaml files.
Question: how to access activemq:61616 then?
Thanks!
"I have an application that looks for a host named activemq with port 61616. "
this application running inside k8s cluster?
Yes
How do I setup DNS for this Service/Pod? The application wants an IP address passed in to its XML file
Thanks
@hsmaiou For that you need to deploy the dns cluster add-on. The required set-up is covered by @mmumshad’s kubernetes-the-hard-way here.