title: Kubectl command to check if namespace is ready
body: <p>I would like to know if there is a command in kubernetes that returns true if all resources in a namespace have the ready status and false otherwise.</p>
  
  <p>Something similar to this (ficticious) command: </p>
  
  <pre><code>kubectl get namespace &lt;namespace-name&gt; readiness
  </code></pre>
  
  <p>If there is not one such command, any help guiding me in the direction of how to retrieve this information (if all resources are ready in a given namespace) is appreciated. </p>