How Docker swarm mode does load balancing?

前端 未结 1 1591
醉酒成梦
醉酒成梦 2021-01-15 11:38

In docker swarm mode (docker engine 1.12+), for the service, what is the load balancing algorithm?

Is it pluginable?

Assuming it is round-robin, is it still

相关标签:
1条回答
  • 2021-01-15 12:09

    The algorithm is currently round-robin and I've seen no indication that it's pluginable yet. A higher level load balancer would allow swarm nodes to be taken down for maintenance, but any sticky sessions or other routing features will be undone by the round-robin algorithm in swarm mode.

    0 讨论(0)
提交回复
热议问题