Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions architecture/compute-runtimes.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,26 @@ drive client provisioning UI, the driver attaches the shared
clients to parse Kubernetes reasons, VM cache states, or other driver-local
reason strings.

## VM Rootfs Preparation Boundary

The VM driver prepares an image rootfs and then launches it with the selected
VM runtime. `openshell-driver-vm::provisioning` makes that hand-off explicit:

```text
existing VM image acquisition -> UnpackedImage -> VmRootfsImage
|
v
existing VM launch path
```

`VmRootfsMaterializer` adapts the existing rootfs preparation and ext4 image
construction functions. Both cached-image paths use it before handing the
resulting ext4 image to the existing VM launch path.

Local image acquisition identifies Docker and Podman as distinct
Docker-compatible image sources, while preserving the existing Docker-first,
Podman-fallback selection policy. Registry acquisition remains a separate path.

The capability RPC reports driver identity, version, and the default sandbox
image used by the gateway. GPU availability stays driver-local and is validated
when a sandbox create request asks for GPU resources.
Expand Down
Loading
Loading