<p>What is the algorithm used in kubernetes Service object when its doing load balancing between PODs. Like I have 2 instances running, and one Service is exposed for both of them. What is the default load balancing rule Service is using and how to customize that?</p>

P.Das
<p>Kubernetes Service load balancing is round robin by default. So requests to Service will be almost equally distributed between your pods.</p>

<p>You may configure <code>SessionAffinity</code> for Service. The only affinity technique availble is <code>clientIP</code>. Think twice before enabling <code>SessionAffinity</code> because in many cases it is practically useless.</p>
