<p>I am currently setting up a cluster for a team. I've setup a hierarchial role based authentication. I've used the Kuberentes role API to define the roles. However, you can only restrict the CRUD operations for the roles.</p>

<p>How can I limit resources like cpu or memory based on roles?</p>

<p>EDIT:
Seems like there is no way to do that directly. Namespaces would have to be created for each role and then ResourceQuotas will have to be applied on them.</p>

Haran Rajkumar
<p>I think you need to use Resource Quotas Policy in Kubernetes.</p>

<p>Refer to this link - <a href="https://kubernetes.io/docs/concepts/policy/resource-quotas/" rel="nofollow noreferrer">Resource Quotes</a></p>
