<p>I made a deployment and scaled out to 2 replicas. And I made a service to forward it.</p>

<p>I found that kube-proxy uses iptables for forwarding from Service to Pod. But the load balancing strategy of iptables is RANDOM.</p>

<p>How can I force my service to forward requests to 2 pods using round-robin strategy without switching my kube-proxy to <code>userspace</code> or <code>ipvs</code> mode?</p>

Peng Deng
<p>You cannot. </p>

<p>But if you really don't want to change <code>--proxy-mode</code> flag on kube-proxy you can use some third-party proxy/loadbalancer (like HAProxy) and point it to your application. But this is usually not the best option as you need to make sure it's deployed with HA and it will also add complexity to your deployment.</p>
