OpenShift Resource Management Concepts: Difference between revisions

From NovaOrdis Knowledge Base
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

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.

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