When kube-proxy is in IPVS Mode, are there any plans to support the setting of Load Balancing algorithm for each service?

35 views
Skip to first unread message

ssup2

unread,
Apr 26, 2021, 12:53:40 PM4/26/21
to kubernetes-sig-network
Now Kubernetes doesn't support select load balancing algorithm for each service with IPVS mode.

In most cases, round-robin is sufficient, but other algorithms may be better depending on the situation. Are there plans to support this ?? Thanks.

Andrew Kim

unread,
Apr 26, 2021, 1:09:06 PM4/26/21
to ssup2, kubernetes-sig-network
There was a PR a while back to allow configuration of the scheduler algorithm via annotations, see https://github.com/kubernetes/kubernetes/pull/75556

It was closed due to the level of complexity it was adding since the load balancing algorithm is performed per node client-side, so every other client cannot accurately determine which backend is best. PR discussion has more details.

Please re-open the PR if you'd like to make a case for why it should be reconsidered.

Thanks,

Andrew Sy

On Mon, Apr 26, 2021 at 12:53 PM ssup2 <supsu...@gmail.com> wrote:
Now Kubernetes doesn't support select load balancing algorithm for each service with IPVS mode.

In most cases, round-robin is sufficient, but other algorithms may be better depending on the situation. Are there plans to support this ?? Thanks.

--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-network" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-ne...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-network/5a7e3622-523e-43d5-9903-cb8308efe196n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages