When namespaces matter
Scope
Direct Workload commands resolve Account and Namespace from the current CLI context unless a command or manifest provides another Namespace. They never require a Workspace. Workspace CRUD is nested below the Namespace:Account-wide listing
Every command that lists a Namespace-scoped collection accepts-A/--all-namespaces, which lists across every namespace in the account you
can list. Each row and item identifies its namespace, results order by
namespace and then name, and totals count the account-wide result. Reading or
changing one named resource always addresses one namespace, because the same
name may exist in more than one.
Lifecycle
A Namespace is in one of two phases. Every Namespace the API serves carries aphase.
Deleting a namespace
Deleting a Namespace is asynchronous. The API accepts the request with HTTP 202 and records the Namespace asterminating. The platform then drains
everything the Namespace owns: its Workspaces and every Namespace-scoped
resource in every zone. Once nothing remains, the platform finalizes the
release. A finalized Namespace resolves 404, and its name is free to reuse.
Deleting a Namespace that is already terminating is accepted again with the
same result.
The reserved default namespace cannot be deleted.
While terminating
The refusal’s details name the Namespace. Automation should classify the
refusal by its code.
Termination detail
While a Namespace is terminating, the API reportsterminatingAt, the instant
the deletion was recorded, and termination, which describes what still holds
finalization back.
The platform finalizes once no Workspaces remain and every zone has
acknowledged and reports nothing remaining.
Observe a deletion
idyl namespace get lists every Namespace with a PHASE column. With a name,
it shows the phase and, for a terminating Namespace, what still holds
finalization back.
Wait for finalization
Pass--wait to idyl namespace delete to block until the Namespace is
finalized, and --timeout to bound the wait. After a deletion has been
accepted, idyl wait namespace <namespace> --for deleted blocks the same way.
0 when the Namespace is finalized and 124 when the timeout
passes first. While the Namespace is terminating, the wait reports what still
holds it back.
Deleting a Namespace releases the Workspaces within it. To release one
Workspace on its own, see Workspaces.
