Skip to content

docs(rfc): propose Kubernetes resources for sandboxes, templates, and providers (RFC 0030) - #6149

Open
JimBugwadia wants to merge 8 commits into
ai-openshell:mainfrom
JimBugwadia:docs/6073-k8s-sandbox-resources-rfc/JimBugwadia
Open

JimBugwadia wants to merge 8 commits into
ai-openshell:mainfrom
JimBugwadia:docs/6073-k8s-sandbox-resources-rfc/JimBugwadia

Conversation

@JimBugwadia

Copy link
Copy Markdown

Summary

Add RFC 0030, which proposes an optional Kubernetes controller and three custom resources, OpenShellSandbox, OpenShellSandboxTemplate, and OpenShellProvider, so you can declare long-lived agents in Git and deploy them with Argo CD or Flux. A new gateway setting, workspace_managers, lets only the controller change a Kubernetes-managed workspace.

The issue doesn't have an assigned RFC number yet, so 0030 is provisional. Maintainers, assign a number and I'll rename the folder.

Related Issue

Closes #6073

The issue covers both the RFC and the implementation. If you merge this RFC first, reopen the issue for the implementation.

Changes

  • Add rfc/0030-kubernetes-sandbox-resources/README.md in review state.
  • Propose the three resources, namespace opt-in with the openshell.ai/workspace label, the workspace_managers and workspace_provisioners gateway settings, and the controller's reconciliation, status, and deletion model.
  • Separate Ready, which means the gateway accepted the spec, from Available, which means the agent stayed up, for GitOps health checks.
  • Describe how template revisions interact with warm pools from feat(kubernetes): add template-driven sandbox warm pools #5518.
  • List a read-only runtime view through API aggregation as a deferred follow-up, and explain why it's deferred.

A working implementation, with tests and docs, is on feat/6073-k8s-sandbox-crd/JimBugwadia.

Release Notes

Testing

  • Checks appropriate to the affected code and behavior pass (markdownlint-cli2 with the repository configuration; Mermaid diagrams rendered with Mermaid 11)
  • Unit tests added/updated (if applicable)
  • E2E tests added/updated (if applicable)

Checklist

… providers (RFC 0030)

Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
@github-actions github-actions Bot added the state:accepted A maintainer decided OpenShell should pursue this issue label Dec 2, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:accepted A maintainer decided OpenShell should pursue this issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(k8s): Kubernetes resources and controller for OpenShell sandboxes, templates, and providers

1 participant