I have a project that includes a Web API and an Angular front-end (NGINX). They are hosted on Google's Container Engine using Kubernetes. When I try to access the Web API service using http://${service_name}/api
I get a net::ERR_NAME_NOT_RESOLVED
error.
But, if I ssh into the Angular pod and curl that same address I get a response. How can I access the back-end API (from the browser using Angular) without exposing a public IP?