Runtime Commands
runta run
Section titled “runta run”Create a new runtime.
runta run [OPTIONS] --cpus <vcpus> --memory <memory_mib> [--memory-max <memory_max_mib>]| Option | Description |
|---|---|
--name <name> |
Runtime name. If omitted, runta generates a random name. |
--cpus <vcpus> |
Number of vCPUs. Required. |
--memory <memory_mib> |
Memory in MiB. Required. |
--memory-max <memory_max_mib> |
Maximum auto-scaled memory in MiB. Must be at least --memory; defaults to the initial memory. |
-p, --publish <ingress_spec> |
Repeatable ingress rule in <port>/http or <port>/https form. |
--idle-mode <idle_mode> |
Idle policy: disabled, suspend-only, or suspend-and-wakeup. |
--idle-timeout <idle_timeout_secs> |
Suspend the runtime after this many seconds without observed activity. Omit to disable. |
runta run --name demo --cpus 2 --memory 2048runta run --name demo --cpus 2 --memory 1024 --memory-max 8192runta run --name demo --cpus 2 --memory 2048 --publish 8080/httpsrunta run --name demo --cpus 1 --memory 512 --publish 8080/https --idle-mode suspend-and-wakeup --idle-timeout 300runta ps
Section titled “runta ps”List runtimes.
runta ps [OPTIONS]| Option | Description |
|---|---|
-a, --all |
Show all runtimes, including unreachable ones. |
runta inspect
Section titled “runta inspect”Show detailed information for a runtime.
runta inspect <runtime_name>Lifecycle Commands
Section titled “Lifecycle Commands”runta shutdown <runtime_name>runta boot <runtime_name>runta pause <runtime_name>runta resume <runtime_name>runta rm <runtime_name>...runta resize
Section titled “runta resize”Resize runtime memory.
runta resize --memory <memory_mib> <runtime_name>| Option | Description |
|---|---|
--memory <memory_mib> |
New memory size in MiB. Required. |
