https://rancher.com/ logo
Title
m

many-artist-13412

04/19/2023, 8:37 PM
I have a 2 node cluster. A single replica of http image running from one of the nodes. I exposed it with a loadbalancer service. The LB service got 2 external IPs, same as the IPs of the nodes. I could reach externally to the http pod, but I have to use the external IP of the node that runs the pod. CANNOT reach with external-ip of the second node. Why is that ? should I be able to reach with the IPs of any nodes in the cluster?
c

creamy-pencil-82913

04/19/2023, 8:39 PM
it should work on either, unless you asked for it not to by setting the ExternalTrafficPolicy on your service.
Can you curl the port locally on both of your nodes? Is it only not working from other places on your network?
Mentioning what version of K3s you’re using would also be helpful.
m

many-artist-13412

04/19/2023, 9:04 PM
brandond, I just re-deployed the service . Also noted that, there was firewalld running on one of the nodes. now it works. Thanks for clearing my doubt!
c

creamy-pencil-82913

04/19/2023, 10:01 PM
that’d do it!