<p>Is there a way to get the memory consumption per namespace on Kubernetes?</p>

<p><strong>On high level we can get this from kubectl</strong></p>

<p>$ kubectl describe resourcequota -n my-namespace</p>

<pre><code>Name:            compute-resources
Namespace:       default
Resource         Used    Hard
--------         ----    ----
limits.cpu       12      48
limits.memory    1024M   120Gi
requests.cpu     250m    24
requests.memory  512M    60Gi
</code></pre>

<p><strong>Note : will work only if your create resourcequota.</strong></p>
