Repository navigation
chore(deploy): add Docker-in-Kubernetes evaluation suite with Kata results - #184
Draft
robo-coderai wants to merge 2 commits into
Draft
robo-coderai wants to merge 2 commits into
robo-coderai wants to merge 2 commits into
Conversation
…sults Add a shared suite that every Docker-in-workspace candidate runs from inside a workspace, so results are comparable across Envbox, Sysbox, native user namespaces, rootless Podman, Kata, KubeVirt, and others. It runs use cases in order (docker commands, image builds, Compose and kind), records per-check durations as JSON lines, and captures the workspace security shape. The first result is Kata on the dogfood EKS cluster: all 15 checks pass, with a /dev/kmsg workaround for kind. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Running rootless Podman showed that accepting --memory and --cpus is not the same as enforcing them, and that a published port can pass while the nested container shares the workspace network. Level 1 now checks that limits appear in the nested container's cgroup and that it has its own network namespace. Timing uses /proc/uptime so clock steps can't produce negative durations, -c runs every level after a failure, and the security shape records passwordless sudo. Kata still passes all 17 checks. Rootless Podman on dogfood EKS runs containers and builds images, but ignores limits, shares the workspace network, and can't run Compose or kind, because the pod has no /dev/net/tun and no cgroup delegation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Adds
deploy/dind-evaluation/, a shared test suite for comparing ways to run Docker inside Kubernetes workspaces. Every candidate (Envbox, direct Sysbox, native user namespaces, rootless Podman, Kata, KubeVirt, and others) runs the samerun-suite.shfrom inside a workspace, so results are directly comparable. This re-tests the Augustplat-370-experimentsspikes on current versions and adds candidates that weren't covered then.The suite runs use cases in order:
-k)By default it stops at the first level that fails.
-cruns every level anyway. Each run writesresults.jsonl(per-check status and duration) andsecurity-shape.txt(uid, sudo, capabilities, seccomp, user namespace, cgroups, devices, engine info). The node side of the security shape, such as privileged pods, runtime installs, and instance types, can't be seen from inside the workspace, so each candidate'sfindings.mdrecords it by hand.Results so far:
coder-kata, dogfood EKS)/dev/nullmounted at/dev/kmsg, which the suite applies automatically.podman-rootless, dogfood EKS)/dev/net/tunand no cgroup delegation in the pod.The limit and network checks were added after the Podman run showed that
--memoryand--cpuscan be accepted without being enforced, and that a published port can pass while the nested container shares the workspace network.Draft: more candidates will be added as results come in.
🤖 Generated with Claude Code