Skip to content

nyx_project_ram

Set the RAM allocation for a project. The value is rounded up to the next 256 MB step (same granularity the UI’s stepper offers) so AI agents can pass a raw estimate and land on a stable bucket.

Examples:

nyx project ram widget —mb 832 # → allocated 1024 MB (rounded) nyx project ram widget —mb 512 # → allocated 512 MB nyx project ram widget —mb 0 # → park the project (0 reserved)

Failure modes the response surfaces:

below_reserved / below_reserved_cpu The pods currently running already request more than the new value. Shrink the workloads (kubectl scale, delete an App) first OR allocate at least the reported floorMb.

ram_pool_exhausted The account-tier RAM pool is full across siblings. Either shrink another project (nyx project ram —mb ) or upgrade the subscription tier (link in the conflict body).

ArgumentRequired
projectyes
FlagTypeDefaultDescription
--contextstringOverride the active context for this invocation (also: NYX_CONTEXT env var)
--jsonboolfalseEmit one JSON envelope per invocation (stdout for success, stderr for errors)
--mbint0RAM allocation in MB (rounded up to the next 256 MB step). 0 parks the project.

Generated from tree.json @ fallbac.