Documentation
¶
Overview ¶
Command ateworker-microvm is the kata + cloud-hypervisor micro-VM implementation of the ateworkerpb.Worker service, a peer to cmd/ateworker-gvisor.
It runs a substrate actor as a cloud-hypervisor micro-VM (launched via the kata guest model) and supports full suspend/resume by driving CH's native snapshot/restore underneath (see internal/ch).
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
agentstats
Package agentstats turns the kata guest agent's per-container cgroup accounting into the resource-usage sample ateworker reports.
|
Package agentstats turns the kata guest agent's per-container cgroup accounting into the resource-usage sample ateworker reports. |
|
ch
Package ch drives a single cloud-hypervisor instance over its REST api-socket: pause, snapshot, resume against a running VMM (e.g.
|
Package ch drives a single cloud-hypervisor instance over its REST api-socket: pause, snapshot, resume against a running VMM (e.g. |
|
child
Package child runs the long-lived subprocesses ateworker-microvm owns, and reaps each as soon as it exits.
|
Package child runs the long-lived subprocesses ateworker-microvm owns, and reaps each as soon as it exits. |
|
kata
Package kata holds the helpers ateworker uses to boot and drive a kata guest in a cloud-hypervisor micro-VM without the kata shim: ateworker boots cloud-hypervisor itself (see internal/ch), then drives the stock kata-agent over its hybrid-vsock ttrpc API (DialAgent / AgentClient) to create the sandbox and run each container on its host-merged rootfs (overlay_linux.go).
|
Package kata holds the helpers ateworker uses to boot and drive a kata guest in a cloud-hypervisor micro-VM without the kata shim: ateworker boots cloud-hypervisor itself (see internal/ch), then drives the stock kata-agent over its hybrid-vsock ttrpc API (DialAgent / AgentClient) to create the sandbox and run each container on its host-merged rootfs (overlay_linux.go). |