<p>I am trying to collect some information regarding the kubernetes namespaces.
I found a command where you can see some information.</p>
<pre><code>kubectl describe resourcequota -n my-namespaces
</code></pre>
<p>I have as return:</p>
<pre><code>Name:                       gke-resource-quotas
Namespace:                  tms-prod
Resource                    Used  Hard
--------                    ----  ----
count/ingresses.extensions  0     5k
count/jobs.batch            0     10k
pods                        68    5k
services                    44    1500
</code></pre>
<p>However I need information like:</p>
<pre><code>CPU request
CPU Limit
Memory request
Memory Limit
Service (count)
Pods (Count)
Phase
</code></pre>
<p>I studied a little and saw that it is possible to create ResourceQuota to get this information. However I did not understand very well its operation.</p>
<p>Could anyone get this data?</p>

Danilo Marquiori
<ol>
<li>run first <code>kubectl get quota</code></li>
<li>then it will display quotas available</li>
<li>then run <code>kubectl describe quota &lt;quota name&gt;</code></li>
</ol>
<p>if you don't have any custom quota then you can create it as describe from <a href="https://kubernetes.io/docs/concepts/policy/resource-quotas/" rel="nofollow noreferrer">https://kubernetes.io/docs/concepts/policy/resource-quotas/</a></p>
