<p>Is there any <code>kubectl</code> command to see how much RAM (e.g. GB) has the entire cluster?</p>
<p>Basically I would like to get the sum of all the RAM of all the nodes in the cluster.</p>
<p>The command would be useful to understand the &quot;size&quot; of the Kubernetes cluster.</p>

collimarco
<p>You can install <code>view-utilization</code> kubectl plugin with:</p>
<pre><code>kubectl krew install view-utilization
</code></pre>
<p>Then you can run:</p>
<pre><code>kubectl view-utilization -h
</code></pre>
<p>...and you should look for values under &quot;Alloc&quot; columns:</p>
<pre><code>Resource   Req  %R   Lim  %L  Alloc  Sched  Free
CPU        3.7  6%   4.3  7%     60     57    56
Memory    5.4G  2%  7.9G  3%   237G   232G  229G
</code></pre>
