<p>I'm not sure how load balancing works with Ingress.<br>
If I understand correctly, what happens is actually something like this: </p>

<p><a href="https://i.stack.imgur.com/DFh63.png" rel="noreferrer"><img src="https://i.stack.imgur.com/DFh63.png" alt="enter image description here"></a></p>

<p>I fail to see how the load balancing is performed.<br>
What is wrong in the above scheme that I have drawn?<br>
Can you help me rectify it? </p>

<p>Notes:<br>
- The following answer tells me that the Ingress controller itself is of type 'loadbalancer': <a href="https://stackoverflow.com/questions/53959974/ingress-service-type">Ingress service type</a><br>
- I use kind ClusterIP because I don't want to expose the loadbalancer to the outside world. The following article does not support this claim, where the load balancer would be provided by the service: </p>

<p><a href="https://medium.com/google-cloud/kubernetes-nodeport-vs-loadbalancer-vs-ingress-when-should-i-use-what-922f010849e0" rel="noreferrer">https://medium.com/google-cloud/kubernetes-nodeport-vs-loadbalancer-vs-ingress-when-should-i-use-what-922f010849e0</a></p>

<p><a href="https://i.stack.imgur.com/x5sgl.png" rel="noreferrer"><img src="https://i.stack.imgur.com/x5sgl.png" alt="enter image description here"></a></p>

html_programmer
<p>The <code>ClusterIP</code> services themselves perform load balancing. The naming can be confusing as <code>LoadBalancer</code> services are not the only services that involve load balancing - <code>LoadBalancer</code> actually means something more like 'cloud provider please create an external load balancer and point it at this service'. The kubernetes <code>ClusterIP</code> services also <a href="https://stackoverflow.com/a/49892871/9705485">load-balance across Pods in different Nodes using the kube-proxy</a>. If you don't want kubernetes to do load balancing then you have to specifically disable it by <a href="https://kubernetes.io/docs/concepts/services-networking/service/#headless-services" rel="noreferrer">creating a headless service</a>.</p>
