novita sandbox resize to expand a running sandbox’s CPU, memory, or disk without restarting it. sandbox can also be written as sbx.
Prerequisites
- Use a running sandbox and choose targets within your quota.
Usage
CLI
Specify at least one resource; omitted resources stay unchanged. All values are positive absolute totals, not increments. New memory and disk totals must be whole GiB; an existing non-whole-GiB value can be kept unchanged if it represents a whole number of MiB.
Only expansion is supported. A target equal to the current value is skipped; a lower target fails.
Create with resources
You can also specify resources when creating a sandbox. Omitted resources use the template defaults.CLI
-d / --detach option returns to your shell without attaching an interactive terminal. See Create Sandbox for creation constraints.
Output and partial success
Default output shows each requested resource separately. For structured output, use:CLI
applied: the target is active.skipped: the resource already matched the target.failed: inspectreasonandmessage.unknown: the result is not yet confirmed. Query sandbox details again later; do not assume the reported allocation is final.
Inspect resources and quotas
CLI
info and list show CPU in cores and memory and disk in MiB, whereas resize input and results use GiB for memory and disk. Check current allocation and quota before choosing a target.