title: List all objects from a given namespace using kubectl
body: <p>I would like to list all objects that are present in a specific namespace in kubernetes. </p>
  
  <pre><code>kubectl get all -n &lt;namespace&gt;
  </code></pre>
  
  <p>the above command doesn't list all available objects from the given namespace. Is there a way to list them using kubectl?</p>
  
  <p>i can list all objects that i want by passing them to kubectl. but i dont want that.</p>
  
  <pre><code>kubectl -n &lt;namespace&gt; get deployment,rs,sts,ds,job,cronjobs -oyaml
  </code></pre>