title: Kubernetes Docker logs
body: <p>I am using the following command to check logs in Kubernetes.</p>
  <blockquote>
  <p>kubectl logs pod_name -n namespace</p>
  </blockquote>
  <p>It is printing all the logs from the beginning.</p>
  <ol>
  <li>Is there anyway to tail the logs or check logs between the given window?</li>
  <li>Is it possible to rotate docker logs based on size or date?</li>
  </ol>