Kubernetes Ingress
Jay Gorrell
1.6K16

The thing I find strange about using the load balancer in this is that it contains all nodes, so will round robin between the nodes. Adding nginx doesn’t reduce any hops, in fact it ads another. EG say we have master and three nodes. The chance of the request not making it to the instance that contains the nginx pod is 3/4. So the expected probability is that some other node will field the request first and then proxy the request on the correct box (2 hops). If we are using nginx, it will then forward the request onto the service, which has 2/3 chance of being on a different box. So the expected probability is that one request will go through 3 hops before it gets to it’s destination. It would be great if it would put an nginx instance in the public utility subnet as a substitute for the ELB.