stratumctl admin quotas
Manage install-wide quota defaults and per-project overrides (bootstrap-admin)
stratumctl admin quotas [flags]Subcommands
Section titled “Subcommands”stratumctl admin quotas approve: Approve a quota request (writes the project’s limit)stratumctl admin quotas clear: Clear a project’s override (back to the install default and its organization’s values)stratumctl admin quotas clear-org: Clear an organization’s ceiling (the org’s values can then only lower)stratumctl admin quotas defaults: List the install-wide quota defaults (what a project without an override gets)stratumctl admin quotas deny: Deny a quota requeststratumctl admin quotas dimensions: List registered quota dimensions with their defaultsstratumctl admin quotas enforcement: Show or switch quota enforcement (install-wide and per service)stratumctl admin quotas requests: List quota requests (pending by default)stratumctl admin quotas set: Set a project’s override for one quota dimensionstratumctl admin quotas set-default: Set the install-wide default of one quota dimensionstratumctl admin quotas set-org: Set an organization’s ceiling on one dimension (delegates it to the org)
stratumctl admin quotas approve
Section titled “stratumctl admin quotas approve”Approve a quota request (writes the project’s limit)
stratumctl admin quotas approve <request-id> [flags]Examples
Section titled “Examples”stratumctl admin quotas approve qr-4f8k2m7x9pstratumctl admin quotas approve qr-4f8k2m7x9p --reason "approved for the Q4 launch"| Flag | Type | Default | Description |
|---|---|---|---|
--reason |
string | Recorded on the request and in the audit event |
stratumctl admin quotas clear
Section titled “stratumctl admin quotas clear”Clear a project’s override (back to the install default and its organization’s values)
stratumctl admin quotas clear [flags]Examples
Section titled “Examples”stratumctl admin quotas clear --project p-team-a --dimension network.vpcs.count| Flag | Type | Default | Description |
|---|---|---|---|
--dimension |
string | Dimension key (required) | |
--project |
string | Project ID (required) |
stratumctl admin quotas clear-org
Section titled “stratumctl admin quotas clear-org”Clear an organization’s ceiling (the org’s values can then only lower)
stratumctl admin quotas clear-org [flags]Examples
Section titled “Examples”stratumctl admin quotas clear-org --org o-acme --dimension compute.instances.count| Flag | Type | Default | Description |
|---|---|---|---|
--dimension |
string | Dimension key (required) | |
--org |
string | Organization ID (required) |
stratumctl admin quotas defaults
Section titled “stratumctl admin quotas defaults”List the install-wide quota defaults (what a project without an override gets)
stratumctl admin quotas defaults [flags]Examples
Section titled “Examples”stratumctl admin quotas defaultsstratumctl admin quotas defaults --output jsonstratumctl admin quotas deny
Section titled “stratumctl admin quotas deny”Deny a quota request
stratumctl admin quotas deny <request-id> [flags]Examples
Section titled “Examples”stratumctl admin quotas deny qr-4f8k2m7x9p --reason "over the budget for this project"| Flag | Type | Default | Description |
|---|---|---|---|
--reason |
string | Recorded on the request and in the audit event |
stratumctl admin quotas dimensions
Section titled “stratumctl admin quotas dimensions”List registered quota dimensions with their defaults
stratumctl admin quotas dimensions [flags]Examples
Section titled “Examples”stratumctl admin quotas dimensionsstratumctl admin quotas dimensions --output jsonstratumctl admin quotas enforcement
Section titled “stratumctl admin quotas enforcement”Show or switch quota enforcement (install-wide and per service)
stratumctl admin quotas enforcement [flags]Subcommands
Section titled “Subcommands”stratumctl admin quotas enforcement get: Show whether quotas are enforced, install-wide and per servicestratumctl admin quotas enforcement set: Switch quota enforcement for the install, or for one service
stratumctl admin quotas enforcement get
Section titled “stratumctl admin quotas enforcement get”Show whether quotas are enforced, install-wide and per service
stratumctl admin quotas enforcement get [flags]Examples
Section titled “Examples”stratumctl admin quotas enforcement getstratumctl admin quotas enforcement get --output jsonstratumctl admin quotas enforcement set
Section titled “stratumctl admin quotas enforcement set”Switch quota enforcement for the install, or for one service
stratumctl admin quotas enforcement set on|off|inherit [flags]Switch quota enforcement on or off, e.g.:
stratumctl admin quotas enforcement set offstratumctl admin quotas enforcement set on --service computestratumctl admin quotas enforcement set inherit --service computeOff: every limit in scope reads unlimited and nothing is refused; usage is still counted. A service’s own setting wins over the install-wide one; “inherit” removes it. Rate limits are not affected.
Examples
Section titled “Examples”stratumctl admin quotas enforcement set offstratumctl admin quotas enforcement set on --service computestratumctl admin quotas enforcement set inherit --service compute| Flag | Type | Default | Description |
|---|---|---|---|
--service |
string | One service (e.g. compute, network, dns); omitted = the install-wide switch |
stratumctl admin quotas requests
Section titled “stratumctl admin quotas requests”List quota requests (pending by default)
stratumctl admin quotas requests [flags]Examples
Section titled “Examples”stratumctl admin quotas requestsstratumctl admin quotas requests --status all --project p-team-a| Flag | Type | Default | Description |
|---|---|---|---|
--org |
string | Only this organization’s | |
--project |
string | Only this project’s | |
--status |
string | pending |
pending | approved | denied | canceled | all |
stratumctl admin quotas set
Section titled “stratumctl admin quotas set”Set a project’s override for one quota dimension
stratumctl admin quotas set [flags]Set one override, e.g.:
stratumctl admin quotas set --project p-abc --dimension network.vpcs.count --limit 200 denies all creates on that dimension. “clear” removes the override: the project then gets the install default again, with its organization’s allocation or per-project default on top (see “stratumctl orgs quotas”).
Examples
Section titled “Examples”stratumctl admin quotas set --project p-team-a --dimension network.vpcs.count --limit 20| Flag | Type | Default | Description |
|---|---|---|---|
--dimension |
string | Dimension key, e.g. network.vpcs.count (required) | |
--limit |
int | 0 |
Limit (>= 0; 0 denies) (required) |
--project |
string | Project ID (required) |
stratumctl admin quotas set-default
Section titled “stratumctl admin quotas set-default”Set the install-wide default of one quota dimension
stratumctl admin quotas set-default [flags]Set what every project without its own override gets, e.g.:
stratumctl admin quotas set-default --dimension network.vpcs.count --limit 10-1 is unlimited, 0 denies all creates. –reset restores the built-in value. Per-project overrides (“set”) still win.
Examples
Section titled “Examples”stratumctl admin quotas set-default --dimension network.vpcs.count --limit 10stratumctl admin quotas set-default --dimension network.vpcs.count --reset| Flag | Type | Default | Description |
|---|---|---|---|
--dimension |
string | Dimension key, e.g. network.vpcs.count (required) | |
--limit |
int | 0 |
New default (-1 unlimited, 0 denies) |
--reset |
bool | false |
Restore the built-in default |
stratumctl admin quotas set-org
Section titled “stratumctl admin quotas set-org”Set an organization’s ceiling on one dimension (delegates it to the org)
stratumctl admin quotas set-org [flags]The ceiling bounds the sum over the organization’s projects, and lets the org admins divide it:
stratumctl admin quotas set-org --org o-abc --dimension compute.vcpus --limit 64Examples
Section titled “Examples”stratumctl admin quotas set-org --org o-acme --dimension compute.instances.count --limit 200stratumctl admin quotas set-org --org o-acme --dimension db.storage_bytes --limit 10TiB| Flag | Type | Default | Description |
|---|---|---|---|
--dimension |
string | Dimension key (required) | |
--limit |
amount | The ceiling: an integer or a size like 10TiB (required) | |
--org |
string | Organization ID (required) |
