Skip to content

Conversation

@Generalwin
Copy link
Collaborator

Summary

What is changing and why?
This PR implements Kubernetes runtime support for OpenSandbox, enabling sandboxes to run on K8s clusters.
Key Components:

  • KubernetesSandboxService: K8s implementation of sandbox service interface
  • BatchSandboxProvider: Workload provider using custom BatchSandbox CRD
  • WorkloadProvider: Abstract interface for extensibility (Pod/Job/StatefulSet support in future)
  • ProviderFactory: Factory pattern with dynamic provider registration
  • K8sClient: Client wrapper supporting kubeconfig and in-cluster auth
  • BatchSandboxTemplateManager: YAML template manager with deep merge

Testing

  • Not run (explain why)
  • Unit tests
  • Integration tests
  • e2e / manual verification

Breaking Changes

  • None
  • Yes (describe impact and migration path)

Checklist

  • Linked Issue or clearly described motivation
  • Added/updated docs (if needed)
  • Added/updated tests (if needed)
  • Security impact considered
  • Backward compatibility considered

@CLAassistant
Copy link

CLAassistant commented Dec 25, 2025

CLA assistant check
All committers have signed the CLA.

@Pangjiping
Copy link
Collaborator

missing license header, run scripts/add-license.sh under project root.

https://github.com/alibaba/OpenSandbox/actions/runs/20503579182/job/58915498419?pr=47

Pangjiping
Pangjiping previously approved these changes Dec 25, 2025
@Pangjiping
Copy link
Collaborator

error in python format, run uv run ruff check --fix to fix it

@Pangjiping
Copy link
Collaborator

LGTM

@Pangjiping Pangjiping merged commit 154f9be into alibaba:main Dec 25, 2025
5 of 7 checks passed
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.

3 participants