OpenShift Resource Management Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 24: Line 24:
* [[Oc_describe#quota|oc describe quota]]
* [[Oc_describe#quota|oc describe quota]]
* [[Oc_create#Creating_a_Resource_Quota|oc create]]
* [[Oc_create#Creating_a_Resource_Quota|oc create]]
=Enforcement=
<font color=red>With cgroups?</font>


===Limits===
===Limits===

Revision as of 21:50, 31 January 2018

External

Internal

Overview

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.

Resource Quota Definition

Operations:

Enforcement

With cgroups?

Limits

Memory Limit

Propagates as /sys/fs/cgroup/memory/memory.limit_in_bytes in container.

Requests

Memory Request