One of the main ideas behind OpenShift projects in multi-tenant environments is the need to limit resource consumption at a more granular level than just a whole cluster, providing operations with the ability to scope such limitations to organizations and departments.
OpenShift provides two mechanisms for setting limits on resource consumption in a cluster:
- ResourceQuota
- LimitRanges
This section is dedicated solely to ResourceQuotas. LimitRanges will be discussed in the next section.
ResourceQuota can be used to control the number of API resources that can be created, or the amount of CPU, memory, and storage consumed by pods in the same project the quotas were defined in. Essentially, they determine the capacity of a project. ResourceQuotas allows you to control the following types of resources:
- Pods
- ReplicationControllers...