OpenShift Resource Management Concepts: Difference between revisions
Jump to navigation
Jump to search
Line 27: | Line 27: | ||
* [[Oc_create#Creating_a_Resource_Quota|oc create]] | * [[Oc_create#Creating_a_Resource_Quota|oc create]] | ||
=Enforcement= | ==Enforcement== | ||
<font color=red>With cgroups?</font> | <font color=red>With cgroups?</font> |
Revision as of 17:27, 1 February 2018
External
- https://docs.openshift.com/container-platform/latest/dev_guide/compute_resources.html#dev-guide-compute-resources
- https://docs.openshift.com/container-platform/latest/admin_guide/quota.html
Internal
Overview
Organizatorium
ResourceQuota object enumerates hard resource usage limits per project.
ClusterResourceQuota object enumerates hard resource usage limits across the cluster.
After a quota is first declared on a project, the system restricts the ability to create new resources that may exceed the quota until usage statistics are calculated. If the resource creation request exceeds the quota, the server will deny the action and will return an error message.
When a resource is created, the quota usage is updated immediately. When a resource is delete, the quota usage is updated during the next full per-project statistics update.
Operations:
Enforcement
With cgroups?
Limits
Memory Limit
Propagates as /sys/fs/cgroup/memory/memory.limit_in_bytes in container.