I am trying to use service name in my application to redirect to the correct pods in kubernetes.
The pods of type NodePort is working properly. (i.e. app1.qa.svc does redirects me to the correct application.
However it does not work on type LoadBalancer. Is there a way to do it?
Error:
I am getting a java.net.UnknownHostException: app4.qa.svc