components/gvisor¶
gVisor is the default runtime for sandbox pods in every profile (owner decision, 2026-11-27), and one of three selectable ones. Each sandbox gets a user-space kernel that answers its system calls, so the workload does not call the node's kernel directly. It needs no KVM and no nested virtualization, which is why it also runs in OrbStack on a Mac.
The comparison behind the decision is in
../../docs/sandbox-options.md. Kata remains available
as an opt-in (../kata/).
What goes on the node¶
gVisor has no Helm chart. At bootstrap, on every node that runs sandbox pods:
- Download the release tarball for the node's architecture (URLs and version in
versions.yaml,components.gvisor), check its.sha512, and unpack it. - Install
runsc,containerd-shim-runsc-v1and thegvisor-bindirectory into the same directory on the PATH of K3s (the probe used/usr/local/bin). Withoutgvisor-bin, pods fail withsidecar "gvisor_sentry" not usable. - Copy
node/containerd-runsc.tomlto/var/lib/rancher/k3s/agent/etc/containerd/config-v3.toml.d/gvisor.toml, before K3s starts or followed by a restart of K3s. - Label the node
agentic-infra-lab/gvisor=true.
Then the profile's gvisor step applies
manifests/runtimeclass.yaml.
Under gVisor, OpenSandbox's per-sandbox egress sidecar does not work; egress goes through
Agentgateway's egress listener and everything else is closed by
../opensandbox/manifests/sandbox-network-policy.yaml.
Status: the steps above were carried out once by hand, on arm64, in a throwaway OrbStack
machine with K3s v1.37.2 (2026-11-27; docs/compatibility.md, rows M3 to M8). Nothing
automates them yet. The RuntimeClass is rendered and schema-checked by
make virtual-test, which cannot see whether runsc is on a node. Unvalidated on the
cloud target, and the demo's own code has not been run under it.