Clarify Ingress load balancer

后端 未结 3 1454
被撕碎了的回忆
被撕碎了的回忆 2020-12-31 22:53

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

I fail to see how the loa

3条回答
  •  北海茫月
    2020-12-31 23:25

    The ClusterIP services themselves perform load balancing. The naming can be confusing as LoadBalancer services are not the only services that involve load balancing - LoadBalancer actually means something more like 'cloud provider please create an external load balancer and point it at this service'. The kubernetes ClusterIP services also load-balance across Pods in different Nodes using the kube-proxy. If you don't want kubernetes to do load balancing then you have to specifically disable it by creating a headless service.

提交回复
热议问题