<p>When I studying about <a href="https://kubernetes.io/docs/concepts/policy/resource-quotas/" rel="nofollow noreferrer">Resource Quotas</a>, I found somethings very similar, e.g:</p>

<ul>
<li><code>memory</code> vs. <code>requests.memory</code></li>
<li><code>pods</code> vs. <code>count/pods</code></li>
</ul>

<p>So, my question is what's the different between them?</p>

<p>I think you are confusing Compute Resource Quota with Object Count Quota</p>

<ul>
<li>Compute Resource Quota<br></li>
</ul>

<p>The total sum of compute resources that 
can be requested in a given namespace. <br></p>

<p><code>requests.memory</code> - for instance you can set in this way the total guaranteed amount of memory for Dev team in their dev namespace taking into account all Pods' containers.</p>

<ul>
<li>Object Count Quota<br></li>
</ul>

<p>The total number of generic objects that can exist in the namespace.</p>

<p><code>count/services or pods</code> - possible use case, limit the maximum number of pods per namespace, quoting the official documentation:</p>

<blockquote>
  <p>You might want to set a pods quota on a namespace to avoid the case where a user
  creates many small pods and exhausts the cluster’s supply of Pod IPs.</p>
</blockquote>
