Skip to main content

Module resize

Module resize 

Source
Expand description

Live resource resize for running Box backends.

Tier 1 (provisioned vCPU count and memory size) is immutable for a running Box. MicroVMs cannot hot-resize these libkrun settings, and the public Box lifecycle keeps the same stop/recreate contract across backends.

Tier 2 (cgroup-based limits): MicroVMs write the guest workload cgroup via the exec channel. Host Sandboxes send one complete resource contract through the exact-generation A3S OCI SDK.

Structs§

ResizeResult
Result of a resize attempt.
ResourceUpdate
A resource update request.

Functions§

validate_update
Validate a resource update request.
validate_update_values
Validate resource values independently from whether they can be changed on a running Box.