Kubernetes K3s load-balancer does not follow round robin algorithm
What I tried: In Kubernetes K3s environment, I send HTTP requests to a pod that is replicated twice (autoscaled). The question is, if a POD is called (REST API call) by its service name, the kubernetes load balancer is supposed to follow round robin to redirect the request between multiple replicas. The K3s env doesnt have kube-proxy.
What happened: Everytime a REST API is called, the request goes to the first pod only. It doesn't redirect the second request to second pod (round robin fashion)
An interesting thing to note is
When I kept all the RestController threads of the first pod busy, new request was redirected to second pod
with this I can understand there is a default load-balancer (not Kube-proxy)
How do I bring in Round Robin algorithm?
- If yes what should I configure to achieve Round Robin algorithm?
- Is Kube-proxy supported for K3s? I know it does for K8s - No installation documentation found
- Last option - Should I rely on a third-party software load balancer? if so, what would you guys suggest?