For the complete documentation index, see llms.txt. A markdown version of this page is at /reference/resources/namespace/index.md.

Namespace

The fields of a namespace, the limits you can set on it and the kinds that live outside one.

A Namespace is the unit of tenancy for a team or business unit, and every resource lives in one. This page lists the fields of a Namespace, the limits it can carry and the kinds that are not namespaced.

apiVersion: core.ringleader.dev/v1
kind: Namespace

Namespaces and limits explains what a namespace is for, how Ringleader checks its limits and how to create one. Organization and OrgDomain lists the fields of the organization it belongs to.

Namespace spec

FieldDescription
orgThe organization the namespace belongs to. A namespace belongs to at most one.
maxRunningWorkstations, maxVCPUs, maxGPUsThe limits on what the namespace’s workstations may use at once. Limit fields says what each counts. A limit left unset is no limit.
maxIntegrationTokensPerDayThe most model tokens the namespace may use in one UTC day. It counts the input, output, cache and thinking tokens of every call Ringleader counts, including the ones in Counted calls. Once the day’s total reaches it, calls through an Integration with source: ringleader are refused with 429 until the next UTC day. Calls already running finish, so the total can go over it. Only an org-admin or Ringleader can set it. Unset is no limit.

Limit fields

These limits count what runs at once. The namespace may use at most maxRunningWorkstations workstations at once, maxVCPUs vCPUs and maxGPUs GPUs, each across its running cloud workstations except where the table says otherwise. You can set them on an org, for all of its namespaces together, and on a namespace, for that namespace alone. Limits explains how Ringleader checks them and what it stops, and Set a namespace’s limits shows how to set them on a namespace.

FieldCounts
maxRunningWorkstationsRunning workstations that Ringleader stores, on every provider: cloud workstations and node-bound local ones. A workstation stored only on a member’s computer does not count.
maxVCPUsThe vCPUs of running cloud workstations. Local workstations do not count.
maxGPUsThe GPUs of running cloud workstations. Local workstations do not count.

Namespace scoping

Most kinds are namespaced, and a CloudAccount and a LocalBinding are the two exceptions. Namespaces says what stays within a namespace.

Next steps