Orkestia
Blog
Registry

Limits and usage

Orkestia Registry has no quota. Hard limits stop runaway usage and can be raised, and Cockpit and Lumen show usage per service.

Orkestia Registry has no quota. Instead, a few hard limits stop runaway usage, such as a push loop or a tag per commit. They are generous on purpose. If your organization needs more, contact support: an Orkestia admin can raise any of them for your organization.

The limits

These are the current defaults for each organization:

LimitDefault
Stored data (images and packages). A layer shared by several images is stored and counted once1 TiB
Data pushed per day (UTC)500 GiB
Data downloaded per day (UTC)5 TiB
One image upload request20 GiB
One package file2 GiB
Image repositories5,000
Tags in one repository50,000
Request rate per namespace500 requests per second sustained, 2,000 burst

Daily limits reset at 00:00 UTC.

The size limits are checked on each upload. A package file over 2 GiB is refused with a message that names the limit. An image upload request over 20 GiB is refused with HTTP 413.

What counts as stored data

  • Every layer and manifest of your images, and every package file. A layer shared by several images is stored and counted once.
  • Images that lost their tag. Replacing or removing a tag keeps the image it pointed to, untagged, so pulls by digest keep working. It counts until you delete it: Clean up untagged on Registry → Images deletes all of them, or delete one by digest.
  • Build cache exported to your namespace.

A nightly cleanup removes the layers that no image uses any more, for example after you delete an image by digest. Stored data is measured once a day, so a deletion shows in the numbers after the next cleanup and measurement.

When a limit is reached

Organization owners and admins get an email when usage reaches 80 % of a limit, and again when it reaches the limit.

When the stored data, data pushed, repositories or tags limit is reached, pushes and package publishes pause. New logins still pull, install and delete. To get back under the stored data limit, delete images you no longer need. Pushes resume once usage is measured under the limit again. A daily limit clears at 00:00 UTC.

When the data downloaded limit is reached, new logins are refused until 00:00 UTC.

In both cases, a login issued before the limit was reached keeps working until its hour is up.

The messages read:

  • "Pushes and package publishes are paused for this organization; pulls, installs and deletes keep working: ...", followed by the limit, its level and its value.
  • "Registry access is paused for this organization: ...", for the data downloaded limit.

Both end with "This limit only stops runaway usage and can be raised: ask Orkestia support."

registry.native.status and Cockpit's Registry section show usage against every limit, what a new login gets now, and the reason when something is paused. registry.native.login and the GitHub Actions step return the same reason.

Usage

Cockpit's Registry section shows usage for each service (images, Python packages and npm packages):

  • storage;
  • data uploaded and data downloaded, split between the internet and the private network path that Orkestia runners use;
  • requests.

Usage is shown with an estimated cost, for information only.

Downloads by jobs on Orkestia runners count as data downloaded, like any other download, including toward the daily limit. They show as the private network path. The same goes for uploads and data pushed.

Billing → Usage shows the same lines for the whole organization, grouped under Network (requests, downloads and uploads for the registry, the package index and Git), Registry (images) and Packages (wheels and npm packages).

Usage metrics in Lumen

The same usage is available to your organization as metrics in Lumen, Orkestia's observability:

MetricBroken down by
registry.bytesService, artifact, direction, network path, CI repository and client
registry.requestsService, artifact, direction, network path, CI repository and client
registry.storage_bytesImage repository or package project

A layer shared by several image repositories counts in each repository's registry.storage_bytes, so those figures add up to more than your organization's stored data.

To group or filter, use the attributes namespace, registry.service (image, pip or npm), registry.artifact, registry.direction (in or out), registry.network_path (edge for the internet, private for the private network path), registry.principal_kind, registry.ci_repository (github:<repository id>), registry.client, and status_class on registry.requests. registry.storage_billed_bytes is your stored data per service, as measured each day.