Conversation
drew
added this pull request to stack #3368
September 16, 2026 07:43
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
🌿 Preview your docs: https://nvidia-preview-pr-3367.docs.buildwithfern.com/openshell |
drew
force-pushed
the
codex/gvisor-runtime-adapter
branch
from
September 16, 2026 07:49
ae89968 to
a786dfb
Compare
drew
force-pushed
the
codex/gvisor-runtime-adapter
branch
from
September 16, 2026 18:21
a786dfb to
9358190
Compare
This was referenced Sep 16, 2026
drew
force-pushed
the
codex/gvisor-runtime-adapter
branch
from
September 16, 2026 18:59
9358190 to
a786dfb
Compare
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
drew
force-pushed
the
codex/gvisor-runtime-adapter
branch
from
September 16, 2026 19:04
a786dfb to
fd21261
Compare
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
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.
Summary
Add a gVisor adapter beneath the existing OpenShell Sandbox Protocol so Kubernetes sandboxes can run with GKE Sandbox on COS nodes without relying on Landlock or seccomp user notification. The native Linux adapter remains the default and retains its existing enforcement model.
This PR is intentionally a reduced-fidelity backend: gVisor provides the workload boundary, Kubernetes NetworkPolicy provides zero direct egress, and proxy-aware HTTP/HTTPS traffic is mediated through an authenticated reverse tunnel.
Related Issue
Related to #3361.
Stacked on #3366; review and merge that PR first.
Changes
native-linuxorgvisoradapter choice through the protected runtime descriptor and bind confirmation evidence to the selected mechanism.OpenShellRuntimeBackendand the authenticated Sandbox Protocol while adding an explicit HTTP/CONNECT proxy stream for gVisor.runtimeClassName: gvisor, inject loopback proxy environment variables, and omit the seccomp profile and unprivileged-port sysctl that GKE Sandbox does not support.Testing
mise run pre-commitpassescargo clippy --workspace --all-targets -- -D warningspassesmise run cicompletes: all relevant code checks passed, but the pre-existing deterministictest:e2e-parityfixture failed because both its baseline and candidate fake wrappers emitted no manifests or reportsKnown limitations
Checklist