title: Cannot connect frontend app{Angular} to Backend{SpringBoot} in kubernetes
body: <p>I am trying to containerize my angular+java app in Kubernetes cluster. I have a frontend deployment and a backend deployment in my k8 cluster. My database is in AWS{RDS}. But i am confused that what API-URL should i give in my Frontend code so that it can get connected to my backend app in k8 cluster.
  For e.g :-
  In local system i use something like {localhost:8080/api/customers} in my Frontend code but what should i change it to at the time of deploying in Kubernetes cluster.</p>
  
  <p>I have a Kubernetes cluster setup with 1 master and 2 slave nodes, I created a deployment of my backend app and exposed it through Cluster Ip, and than i gave this cluster ip and port in my frontend application.
  After that i pushed the image to docker hub and than created a k8 deployment for it, but still its not working.</p>
  
  <p>My main ask is what URL and Port should i mention in my Frontend application target URL so that it can find hit my java APIs.</p>