Skip to content

Add a Kubernetes sandbox backend - #954

Open
eseiker wants to merge 1 commit into
yc-software:mainfrom
eseiker:prototype/kubernetes-sandbox
Open

Add a Kubernetes sandbox backend#954
eseiker wants to merge 1 commit into
yc-software:mainfrom
eseiker:prototype/kubernetes-sandbox

Conversation

@eseiker

@eseiker eseiker commented Sep 5, 2026

Copy link
Copy Markdown

Adds a simple Kubernetes sandbox backend using kubectl for self-hosted QM, reusing the local sandbox image, HTTP execution daemon, and existing file, backup, and process-session helpers.

  • Manage sandbox Pods and PVCs through kubectl, passing resource manifests via stdin.
  • Support an optional RuntimeClass, including operator-configured runtimes such as gVisor or Kata.
  • Preserve resident PVCs when parking; use ephemeral storage for scratch sandboxes.
  • Add opt-in Helm configuration through kubernetesSandbox.enabled, with scoped RBAC and core configuration.

Includes a short ADR describing the approach and tradeoffs. Validation covers sandbox lifecycle, failure handling, configuration, routing, and Helm rendering. Type checks, lint, and independent review pass. Live Kubernetes validation is still outstanding.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Reuse the local HTTP execution daemon with namespace-scoped Pod/PVC lifecycle and optional RuntimeClass. Include an ADR, operator prerequisites, RBAC, and focused regression tests. Target a single in-cluster core replica on amd64; live Kubernetes runtime validation remains outstanding.
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