kubectl logs -f <pod_name> return unexpected EOF
<p>I have configured kubernetes cluster where it has 2 masters, 3 etcds and 20 nodes. Masters fronted by a load balancer. I followed up <a href="https://coreos.com/kubernetes/docs/latest/getting-started.html" rel="noreferrer">https://coreos.com/kubernetes/docs/latest/getting-started.html</a> when creating the cluster. Everything work as expected. I could deploy pods without issue and pods running fine. But when I tried to tail the logs, kubectl suddenly return unexpected EOF and stop tailing. Again I have to execute kubectl logs command to continue. This is very annoying as it not even keep one minute.</p>

<p>The command which I execute is,
<code>kubectl logs -f --tail=100 &lt;pod_name&gt;</code> or <code>kubectl logs -f &lt;pod_name&gt;</code></p>

<p>After less than one minute it return, <code>error: unexpected EOF</code></p>

<p>Appreciate your input to sort out the issue.</p>