Here is wireshark from the source node (10.196.39.141) that sends request to connect to target service (10.196.37.168) that is being announced by metalLB from the node (10.196.37.135). (so external IP is announced from only one node). This is on bare-metal on prem k8s cluster, using MetalLB for load balancer allocation, in Layer 2 mode. If I only have one pod behind loadbalancer service, then everything works without any issues. Used wireshark to confirm that SYN packet is being lost and being retransmitted multiple time until it actually works. If I have a load balancer service, that has more than one pod that it can route the traffic to, there is a very high chance that initial connection will have a stall due to SYN retransmission. Using LoadBalancer service, that has more than one pod that it routes to, should result in all connections being handled and accepted without SYN packet retransmission.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |