<p>Can somebody please help me understand why is</p>
<pre><code>kubectl get all --all-namespaces
</code></pre>
<p>lists resources from all namespaces but not Ingress. Even if I specify a particular namespace like the following I still don;t get the Ingress resource</p>
<pre><code>kubectl get all -n app-space
</code></pre>
<p>Why do I have to specifically refer resource type [Ingress ] in this case If i have to get the list of all Ingress resources from all namespaces or a specific namespace</p>
<pre><code>kubectl get ingress --all-namespaces
kubectl get ingress -n app-space
</code></pre>

Amit Kumar
<p><code>kubectl get all</code> is not intended to list all resources cause that would produce unexpected outputs, instead it's meant to list only some most used api resources. check the this <a href="https://github.com/kubernetes/kubernetes/pull/28955#issuecomment-232652070" rel="nofollow noreferrer">Pull Request</a> for the discussion.</p>
