<ul>
<li>I need to see the logs of all the pods in a deployment with N worker pods</li>
<li>When I do <code>kubectl logs deployment/name --tail=0 --follow</code> the command syntax makes me assume that it will tail all pods in the deployment</li>
<li>However when I go to process I don't see any output as expected until I manually view the logs for all N pods in the deployment</li>
</ul>
<h3>Does <code>kubectl log deployment/name</code> get all pods or just one pod?</h3>

Trevor Boyd Smith
<h3>only one pod seems to be the answer.</h3>
<ul>
<li>i went here <a href="https://stackoverflow.com/questions/33069736/how-do-i-get-logs-from-all-pods-of-a-kubernetes-replication-controller#comment124606499_56258727">How do I get logs from all pods of a Kubernetes replication controller?</a> and it seems that the command <code>kubectl logs deployment/name</code> only shows one pod of N</li>
<li>also when you do execute the <code>kubectl logs</code> on a deployment it does say it only print to console that it is for one pod (not all the pods)</li>
</ul>
