Re: [kubernetes-users] ClusterIP service not distributing requests evenly among pods in Google Kubernetes Engine

2018-04-13 Thread Cristian Cocheci
I have only 1 node with multiple processors and a lot of memory. I actually did this on purpose to eliminate the "how are the pods distributed on nodes" variable. I tail the application logs of the 4 pods at the same time, that's how I noticed the uneven distribution. Also, in my response from the

Re: [kubernetes-users] ClusterIP service not distributing requests evenly among pods in Google Kubernetes Engine

2018-04-13 Thread Rodrigo Campos
Why are obviously not evenly distributed? How are pods asgined to nodes? And also, how do you noticed, exactly, that they are not "evenly distributed"? On Friday, April 13, 2018, wrote: > > I have a ClusterIP service in my cluster with 4 pods behind it. I noticed > that requests to the service

[kubernetes-users] ClusterIP service not distributing requests evenly among pods in Google Kubernetes Engine

2018-04-13 Thread cristian . cocheci
I have a ClusterIP service in my cluster with 4 pods behind it. I noticed that requests to the service are not evenly distributed among pods. After further reading I learned that the kube-proxy pod is responsible for setting up the iptables rules that forward requests to the pods. After logging