Skip to content

Quota Management For Your Organization:

This feature focuses on the different capacities allocated to a cluster that allows it to function correctly. Such capacities are the CPU, the limit, and the storage.

The CPU is the value of the processor allocated to a cluster; it considers two parameters:

  • The limit value (the maximum value that you can allocate to a cluster) and

  • The request value (the minimum value that a cluster needs to function).

It is measured in Core or Mcore.

The limit is the memory value allocated to a cluster. Like the CPU, it takes into account a limit value and a request value. However, it is measured in M, Mi, G, Gi. The storage, the capacity that a cluster can have, is also measured in M, Mi, G, Gi.

You can do this through the CNO CLI or the CNO UI.

Using the CNO UI

If you prefer docs:

  • Head over to Parameters > Mailing.

    You'll find some already preset quotas

Listing and Deleting A Quota

You can edit or delete them with the 🖊 or ❌ icons on the right side.

Creating a New Quota

Click the Red ➕ button at the top right screen.

quota-form

Fill the form.

  • Name
  • CPU Request Value
  • CPU Limit Value
  • Memory Request Value
  • Memory Limit Value
  • Storage Value

Using The CNO CLI

CNO already comes with a set of already defined quotas which you can check out using the command

cnoctl adm get quota

Creating A Quota

You can create a quota by giving elements of configuration.

cnoctl adm create quota [name] --cpu LimitValue,RequestValue --memory LimitValue,RequestValue --storage valueStorage 

The supported arguments are:

name: The name of the quota you want to create.

The supported flags are:

cpu: CPU parameter limit value and request, which are separated by a comma. (Required)

memory: memory parameter limit value and request, which are separated by a comma. (Required)

storage: storage value, it is not possible to put a request value, CNO will deduce the request value from the limit value. (Required)

Listing Information

To list information about all quota, use the command:

cnoctl adm get quota

The supported argument is:

name: The name of the quota from which we want to retrieve information. (Optional)

If you want to get infomation about a specific quota, use the command:

cnoctl adm get quota [name]

Deleting A Quota

To delete a quota, use the command:

 cnoctl adm delete quota [name]

The supported argument is:

name:The name of the quota you want to delete (Required)


Last update: 2022-09-18