Skip to content

[WIP][core][sandbox] Add a Cloud Hypervisor VM backend via kata-agent - #68634

Draft
PhysicsACE wants to merge 1 commit into
ray-project:masterfrom
PhysicsACE:sandbox-vmm
Draft

PhysicsACE wants to merge 1 commit into
ray-project:masterfrom
PhysicsACE:sandbox-vmm

Conversation

@PhysicsACE

Copy link
Copy Markdown

Thank you for contributing to Ray! 🚀
Please review the Ray Contribution Guide before opening a pull request.

⚠️ Remove these instructions before submitting your PR.

💡 Tip: Mark as draft if you want early feedback, or ready for review when it's complete.

Description

Briefly describe what this PR accomplishes and why it's needed.

Related issues

Link related issues: "Fixes #1234", "Closes #1234", or "Related to #1234".

Additional information

Optional: Add implementation details, API changes, usage examples, screenshots, etc.

Adds backend="cloud-hypervisor", which boots each sandbox as a Kata
Containers microVM under Cloud Hypervisor and drives it through
kata-agent. The backend is chosen per sandbox (SandboxConfig.backend,
and the HTTP API's backend field), and the shared behavior, exec,
network and checkpoint suites run on both gVisor and Cloud Hypervisor.

Cloud Hypervisor refuses disk=, network="host" and gpu_ids.

Signed-off-by: PhysicsACE <[email protected]>
Co-authored-by: Claude <[email protected]>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ray fails to serialize self-reference objects

1 participant