<p>Currently I have setup an nginx ingress controller routing to my two services. Say /api and /app.<br />
(<a href="https://learn.microsoft.com/en-us/azure/aks/ingress-tls" rel="nofollow noreferrer">https://learn.microsoft.com/en-us/azure/aks/ingress-tls</a>)</p>
<p>What would be the best approach to communicate between /api and /app?<br />
/api is running on port 80, and /app is running port 3000.</p>
<p>My Nginx ingress controller is the only service with an external IP of course. And the services have their own cluster IP, so how should one go about communicating between services here?</p>
<hr />
<p>Edit: Because my services are in Go I will solve it programmatically. Thanks for your suggestions though :)</p>

asisleep
<p>you can query your services like this:</p>
<pre><code>your-namespace.your-service.cluster.local
</code></pre>
<p>the kubernetes cluster DNS will resolve and traffic will be routed internally</p>
