Skip to content

feat(kubernetes): adopt shared supervisor boundary mode - #3144

Open
drew wants to merge 1 commit into
codex/docker-host-supervisorfrom
codex/kubernetes-proxy-pod-isolation
Open

feat(kubernetes): adopt shared supervisor boundary mode#3144
drew wants to merge 1 commit into
codex/docker-host-supervisorfrom
codex/kubernetes-proxy-pod-isolation

Conversation

@drew

@drew drew commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Rework the review-only Kubernetes proxy-pod adapter to provision the same shared openshell-sandbox --mode=control / --mode=boundary protocol used by VM and Docker. The proxy pod hosts control; the workload pod hosts the boundary beside the agent.

This is PR 6 of 6. Its incremental code diff is confined to crates/openshell-driver-kubernetes.

Stack: #2941#2942#3151#2945#2965this PR.

Related Issue

Part of #1737. Informed by the proxy-pod implementation in #2885. The issue does not currently carry state:accepted or roadmap placement; this implementation proceeds under direct maintainer instruction without changing those labels.

Changes

  • Remove the duplicated Kubernetes-specific backend protocol in favor of the common RFC 0012 boundary protocol.
  • Provision authenticated TCP transport for the cross-pod control/boundary connection.
  • Bind the topology to namespace, workload Pod, proxy Pod, and egress NetworkPolicy UIDs plus the policy resource version.
  • Run proxy-pod control outside the workload trust boundary and workload-pod boundary beside the agent.
  • Use the shared exec, signal/terminate, wait, PTY, loopback-forwarding, binary-identity, and mediated-egress capabilities.
  • Require the boundary to protect bootstrap configuration before launching the workload.

Kubernetes resource rendering and active driver registration remain follow-up work. This PR remains review-only and does not expose a selectable topology.

Testing

  • mise run pre-commit on the complete stack
  • cargo test -p openshell-driver-kubernetes — 231 passed
  • cargo clippy -p openshell-driver-kubernetes --all-targets -- -D warnings
  • Kubernetes e2e is not applicable until resource rendering and registration are implemented

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Incremental diff is confined to the Kubernetes driver crate

@copy-pr-bot

copy-pr-bot Bot commented Sep 2, 2026

Copy link
Copy Markdown

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.

@drew drew changed the title codex/kubernetes proxy pod isolation feat(kubernetes): prototype RFC 0012 proxy-pod backend Sep 2, 2026
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
@drew
drew force-pushed the codex/kubernetes-proxy-pod-isolation branch from 4ee9a55 to 9083078 Compare September 3, 2026 01:45
@drew
drew changed the base branch from codex/1737-rfc12-supervisor-primitives to codex/docker-host-supervisor September 3, 2026 01:46
@drew
drew marked this pull request as ready for review September 3, 2026 01:46
@drew
drew requested review from a team, derekwaynecarr, mrunalp and sjenning as code owners September 3, 2026 01:46
@drew drew changed the title feat(kubernetes): prototype RFC 0012 proxy-pod backend feat(kubernetes): adopt shared supervisor boundary mode Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant