<p>My leegacy server uses TCP sockets to serve clients (also inside kubernetes). Clients also run inside the same cluster in which server is.
Can we use NGINX to distribute traffic to server POD instances ? 
If so how ?</p>

Chandu
<p>Kubernetes <code>Service</code> does exactly that. You don't need nginx to do load balancing across pods inside the cluster. </p>

<p>If you want to to weighted distribution of traffic, look at <code>istio</code> or <code>envoy ambassador</code>. </p>

<p><a href="https://istio.io/docs/tasks/traffic-management/tcp-traffic-shifting/" rel="nofollow noreferrer">https://istio.io/docs/tasks/traffic-management/tcp-traffic-shifting/</a>
<a href="https://www.getambassador.io/reference/tcpmappings/" rel="nofollow noreferrer">https://www.getambassador.io/reference/tcpmappings/</a> </p>
