<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>

user2074945
<p>There is no such command. try the below command to check all running pods</p>

<pre><code>kubectl get po -n &lt;namespace&gt; | grep 'Running\|Completed'
</code></pre>

<p>below command to check the pods that are failed,terminated, error etc.</p>

<pre><code>kubectl get po -n &lt;namespace&gt; | grep -v Running |grep -v Completed
</code></pre>
