<pre><code>                                  |--&gt; service1:8081 --&gt; pod1-a, pod1-b, pod1-c
   UI -&gt; load balancer -&gt; ingress (mydomain.com)
                                  |--&gt; service2:8082 --&gt; pod2-a, pod2-b, pod2-c
</code></pre>

<p>So from <code>service1</code>, I could call <code>service2</code> directly with <code>http://service2:8082</code>, but since this is not being done through the UI -> load balancer, how does this get load balanced? Should I not call <code>service2</code> directly, and call it through <code>mydomain.com/service2</code> instead so it would have to go through the flow?</p>

atkayla
<p>Invoking a service from another service will hit the iptable routes on the node and pick service endpoint to route traffic to. This will be faster.</p>

<p>If you call it through mydomain.com/service2, then the flow passes through additional L7 ingress and will be comparatively slow.</p>
