<p>I want to remove cpu limits for a specific container where the namespace has default cpu limits (via limitrange).
Per <a href="https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/#what-if-you-specify-a-container-s-request-but-not-its-limit" rel="nofollow noreferrer">docs</a> the default value will be assigned.
When I explicitly set limits.cpu to 0, I got an error that tells me requests value 20m should be less than or equal to limits value.</p>

<p>So is it possible to force no limits in that case?</p>

Yasser Rabee
<p>Seems like you can remove limits with <code>null</code> value.
At least it worked from helmfile:</p>
<pre><code>   resources:
    requests:
      memory: &quot;100Mi&quot;
      cpu: &quot;100m&quot;
    limits:
      memory: &quot;100Mi&quot;
      cpu: null
</code></pre>
