title: How does kube-proxy loadbalancing
body: <p>I understand that nodes in K8s cluster will all have <code>kube-proxy</code> running and any node can forward traffic for any service in the cluster. </p>
  
  <p>Lets say I have a service with two replica pods which are running on two Nodes <code>N1</code> and <code>N2</code>. The external load balancer forwards traffic to <code>N3</code> and <code>N4</code>. The first request reaches <code>N3</code> and <code>N3</code>'s <code>kube-proxy</code> diverts the traffic to <code>N1</code>. The second request reaches <code>N4</code> and <code>N4</code>'s <code>kube-proxy</code> diverts the traffic to N2. </p>
  
  <p>Do <code>kube-proxy</code>s communicate with each other so that <code>N4</code>'s <code>kube-proxy</code> is aware that earlier request was forwarded to <code>N1</code> and so it should divert this request to <code>N2</code> for proper load balancing or the decision is local to that <code>kube-proxy</code> and not coordinated across <code>kube-proxy</code> in which case it doesn't correctly load balance ?</p>