CRI: pauseless pods
Author: mxpvCreated Sep 3, 2026Updated Sep 23, 2026
Labelskind/featurearea/criarea/runtime
What is the problem you're trying to solve
Today the CRI pod sandbox is a pause container managed by the in-process podsandbox controller. The Sandbox API already defines the daemon-side Controller and the shim-side runtime.sandbox.v1.Sandbox service, but no in-tree shim implementation exists.
The ultimate goal of this is:
- Get rid of pause container images as a dependency (runc shims can handle its responsibilities).
- Get rid of
podsandbox/controller implementation and have one path backed by the underlying shims.
This is an umbrella issue to track the work-stream to implement the pod sandbox inside containerd-shim-runc-v2 behind the Sandbox API:
- Shim will hold the pod's network/IPC/UTS namespaces through bind-mounted namespace pins and owns the pod-shared files (hostname, hosts, resolv.conf, /dev/shm)
- Only pods with
shareProcessNamespace: truewould still require a minimalsandbox-initproc with PID=1; - Gated by experimental go build tag.
- This is experimental and off by default: it will be compiled behind a build tag and validated by a separate CI job (
cri-integration,critest,node e2e, etc);
Describe the solution you'd like
Work items (roughly):
CRI gaps and further decoupling
- https://github.com/containerd/containerd/pull/14108
- https://github.com/containerd/containerd/pull/14135
- https://github.com/containerd/containerd/pull/14214
- Build the verbose PodSandboxStatus info in the CRI server, controllers must return status plus opaque keys only.
Sandbox API and runc shim prerequisites
- https://github.com/containerd/containerd/pull/14105
- Add
SandboxConfigtoCreateSandboxRequest.extensionsto pass pod policy (namespaces, sysctls, cgroups, SELinux, OOM score, seccomp, DNS, annotations) to the shim. - Implement shim
sandboxservice to handleControllerrequests. - Publish new
SandboxExitwhen a sandbox shim dies?
Introduce pauseless sandbox mode in the runc shim
- Namespace pinning, sysctls, shared files and crash-safe cleanup.
-
runtime.sandbox.v1.Sandboxservice (no shared PID yet) and docs. - sandbox-init for shared-PID pods, with memory/CPU measurements against pause.
- CI job with the build tag: cri-integration, critest, node e2e, SELinux-enforcing VM.
- Docs: CRI contact - who owns what?
Source: containerd/containerd