Help with Traffic Shifting Between Linux Nodes

0
7
Asked By CuriousCoder42 On

I'm managing two Linux nodes, each running six containers. The issue I'm facing is that when I shut down two containers on one of the nodes, I expect the traffic to redirect to the other node. I've checked the HAProxy configuration and it appears to be set up correctly. What could be going wrong?

2 Answers

Answered By DevOpsExpert123 On

A colleague of mine mentioned it could be a rogue process unrelated to load balancing. It’s worth investigating other factors that might be causing traffic not to redistribute properly. Have you checked for any misconfigurations or resource limits?

Answered By TechSavvy99 On

What load balancing method are you using? That could be a key factor here. If it's balance source, sticky sessions might be affecting the traffic shift. You might want to consider switching to round robin to see if that helps.

LinuxNinja88 -

Yeah, sticky sessions can definitely cause issues with balancing. If the client sessions are stuck to particular nodes, traffic won't shift as you expect. Round robin might be the better option here!

ConfusedUser7 -

I’m with you on this one! I've seen issues like yours with sticky sessions before. Switching it up sounds like a smart move.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.