Conversation
c2b72cc to
661be9c
Compare
- New scripts/sysbox-containerd2-setup.sh: installs containerd v2.x + sysbox-runc on a k0s embedded-cluster host and redirects kubelet to it. Verified end-to-end on Ubuntu 24.04.4 / kernel 6.17.0-1012-aws. - replicated/openhands.yaml: set RUNTIME_CLASS=sysbox-runc on the runtime-api env so sandbox pods land on the sysbox-runc RuntimeClass the script creates. - Bump runtime-api image to sha-ab08469 and chart to 0.3.2.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OpenHands uses Sysbox as a runtime class to improve isolation between sandboxes and enable Docker-in-Docker support without having to resort to privileged containers.
Sysbox requires either CRI-O or containerd 2 as the container runtime. The embedded cluster (k0s) is packaged with containerd 1.7, so Sysbox is not supported. We're expecting the next version of k0s to ship with containerd 2, but until then, we've provided a script which installs containerd 2, replaces k0s' usage of containerd 1.7, and configures Sysbox.
Usage Instructions
sysboxrelease channel before you begin the installation process.sudo ./openhands reset. This command will delete your existing installation and all of its data.sysbox-containerd2-setup.shscript from this PR onto the VM and execute it as root:sudo bash sysbox-containerd2-setup.shThis feature is experimental and not intended for production. It will not be possible to migrate from installations using this release channel back to the Stable release channel.