Workloads

Namespaces

A namespace is a wall between two sets of work on the same installation. Stacks, secrets, configs, jobs, domains and placement rules all live inside one, and nothing in one namespace can see or reach into another. Most people run one for what is live and one for what is being tried out, and switch between them in the top bar.

The Namespaces page listing default and staging with their stack counts and limits, an Edit and a Delete button per row, and a New namespace button.
Two namespaces: the default one, which cannot be deleted, and a staging namespace with a ten-stack limit.

One is a fine number

Every installation has default - where everything goes when nobody chooses. It cannot be deleted. If you only ever use that one, everything shares a network and nothing is hidden from anything else, which for a single application is exactly right.

What a namespace actually is

Creating one

New namespace asks for a name in lowercase letters, digits and dashes, and optionally three limits: a stack limit, a CPU limit in millicores and a memory limit in bytes. Zero means no limit. Only the stack limit is enforced today - a deploy that would go past it is refused, and the refusal quotes the count. The other two are recorded and shown.

A namespace cannot be renamed. Its name is what its network, its stacks and its labels are built from, so renaming would mean rebuilding all three. Editing changes the limits, not the name.

Deleting one is refused while stacks are still in it; the button says how many have to be moved or removed first.

How many you get

PlanNamespacesQuotas
Community1-
Personal2-
Team5-
MaxUnlimitedYes

Below Max the quota fields are disabled and the page says why: a namespace is still a boundary there, it just has no budget attached. The page also shows how many of the plan's namespaces are in use, and the New namespace button is disabled once they all are.

Roles inside a namespace

On Team and above a person's role can be set per namespace, which replaces their role there - a deployer set to viewer in one namespace is a viewer in it. See Users, roles and SSO.

dev