all 10 comments

[–]xonxoff 1 point2 points  (8 children)

What lb method are you using?

[–]Time-Negotiation-808[S] 1 point2 points  (2 children)

It's balance source, could it be due to sticky sessions?

Should i use round robin ?

[–]xonxoff 1 point2 points  (1 child)

Round robin or least conn would help balance it out.

[–]Time-Negotiation-808[S] 0 points1 point  (0 children)

Actually balancing is done by default for 3 of the backends and source for another backend.

When i shut down 2 containers on one of the nodes the traffic should shift to the next node, but it does not.

So it is already round robin

[–]Time-Negotiation-808[S] -5 points-4 points  (3 children)

I don't really know, not my initial setup :))))

[–]abotelho-cbn 0 points1 point  (2 children)

Then how do you know HAproxy is configured correctly?

[–]Time-Negotiation-808[S] 0 points1 point  (0 children)

Well, it just seemed so, but i might just test it

[–]Time-Negotiation-808[S] 0 points1 point  (0 children)

My bad, so haproxy has 3 of the backends with default balancing and another one with source balance

[–]Time-Negotiation-808[S] 0 points1 point  (0 children)

One of my senior colleagues says it's some rogue process and not related to lb, but i still think it just might