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: NamespaceNamespaces 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
| Field | Description |
|---|---|
org | The organization the namespace belongs to. A namespace belongs to at most one. |
maxRunningWorkstations, maxVCPUs, maxGPUs | The limits on what the namespace’s workstations may use at once. Limit fields says what each counts. A limit left unset is no limit. |
maxIntegrationTokensPerDay | The 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.
| Field | Counts |
|---|---|
maxRunningWorkstations | Running 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. |
maxVCPUs | The vCPUs of running cloud workstations. Local workstations do not count. |
maxGPUs | The 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
- Namespaces and limits: create a namespace, set its limits and see what Ringleader stops when one is over.
- Organization and OrgDomain: the org fields, including its own limits.
- Roles and RoleBindings: the roles that give people access to a namespace.