title: how to get top N latest created pods inside kubernetes based on filter
body: <p>In Kubernetes (using a filter) we can limit the output from k8s on interesting resource and I wonder whether it is possible to list top 5 latest created pods using only filter.</p>
  <p>The current example mostly list all pods and pipe to another unix (<code>head</code> command)</p>
  <pre><code>kubectl get pods --sort-by=.metadata.creationTimestamp | head -n 5
  </code></pre>
  <p>But I guess it takes quite long time to get all first from server side, then lists first 5.</p>
  <p>Can I use special filter will make it more efficiency?</p>