Applying allocation rules for a space
To ensure optimal utilization of infrastructure resources, the minimum and maximum values required for the applications can be configured.
Follow the steps below to configure assignment rules:
Navigate and locate to Manage → Spaces
Select the Space for which you want to configure the allocation rules
Space overview page
Select the corresponding tab Allocation Rules in the upper part of the Spaces detail view.
In the Allocation Roles view, on the left side, you will find a table list where you can set the allocation rules individually for each cluster present in this namespace.
Here you can configure the maximum, limit, requirements, and minimum of the central processing unit (CPU), memory, storage, and maximum allowed pods in the namespace.
Resource quota
Allocation Role | Description |
---|---|
CPU Max | Configure the maximum allowed CPU usage of the individual pod in the namespace. |
CPU Min | Configure minimum CPU limit that the pod can use in this namespace. |
Memory Max | Configure the maximum Memory the pod can use. |
Memory Min | Set the minimum memory request limit for the pod. |
Pod Max | Set the amount of how many pods can be provisioned in this cluster. |
Storage Max | Define the storage maximum limit. |
Default resources for containers
Allocation Role | Description |
---|---|
CPU Limit | Limit the pod CPU requests by setting a hard ceiling that the pod can use. |
CPU Request | Configure CPU request threshold that the pod can request in this namespace. |
Memory Limit | Configure the hard ceiling for the memory request of the pod. |
Memory Request | Configure the request size of the memory for the pod. |
Measuring units CPU
Limits and requests for CPU resources are measured in CPU units. One CPU unit corresponds to 1 physical CPU core or 1 virtual core, depending on whether the node is a physical host or a virtual machine running within a physical machine.
Measuring units Memory
Memory limits and requirements are measured in bytes. You can specify the memory as an integer or as a fixed-point number with one of the following suffixes: E, P, T, G, M, k. You can also use powers of two: Ei, Pi, Ti, Gi, Mi, Ki.
For example, the following numbers represent approximately the same value:
128974848, 129e6, 129M, 128974848000m, 123Mi
Next
In the next step, you may be interested in how to manage registry access for container registries.