mirror of
https://github.com/labring/FastGPT.git
synced 2026-04-27 02:08:10 +08:00
567d408158
* action * action * action * build: integrate OpenSandbox as Agent Execution Sandbox (#6490) * Update action (#6571) * action * action * action * action * action * build: integrate OpenSandbox as Agent Execution Sandbox # Conflicts: # deploy/args.json # deploy/dev/docker-compose.cn.yml # deploy/dev/docker-compose.yml # deploy/docker/cn/docker-compose.milvus.yml # deploy/docker/cn/docker-compose.oceanbase.yml # deploy/docker/cn/docker-compose.pg.yml # deploy/docker/cn/docker-compose.seekdb.yml # deploy/docker/cn/docker-compose.zilliz.yml # deploy/docker/global/docker-compose.milvus.yml # deploy/docker/global/docker-compose.oceanbase.yml # deploy/docker/global/docker-compose.pg.yml # deploy/docker/global/docker-compose.seekdb.yml # deploy/docker/global/docker-compose.ziliiz.yml # deploy/templates/docker-compose.prod.yml # document/public/deploy/docker/cn/docker-compose.milvus.yml # document/public/deploy/docker/cn/docker-compose.oceanbase.yml # document/public/deploy/docker/cn/docker-compose.pg.yml # document/public/deploy/docker/cn/docker-compose.seekdb.yml # document/public/deploy/docker/cn/docker-compose.zilliz.yml # document/public/deploy/docker/global/docker-compose.milvus.yml # document/public/deploy/docker/global/docker-compose.oceanbase.yml # document/public/deploy/docker/global/docker-compose.pg.yml # document/public/deploy/docker/global/docker-compose.seekdb.yml # document/public/deploy/docker/global/docker-compose.ziliiz.yml * remove invalid action --------- Co-authored-by: Archer <545436317@qq.com> Co-authored-by: xqvvu <whoeverimf5@gmail.com> * action --------- Co-authored-by: chanzany <chenzhi@sangfor.com.cn> Co-authored-by: xqvvu <whoeverimf5@gmail.com>
4.6 KiB
4.6 KiB
Changelog
All notable changes to the OpenSandbox Helm Chart will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.1.0] - Initial Release
Added
Core Features
- OpenSandbox Kubernetes Controller Helm chart
- OpenSandbox Server deployment with FastAPI control plane for SDK integration
- Support for deploying controller with configurable replicas and resources
- BatchSandbox and Pool CRD definitions
- RBAC resources (ClusterRole, ClusterRoleBinding, ServiceAccount)
- Leader election configuration for high availability
Server Features
- Server Deployment with configurable replicas and resources
- Server Service with ClusterIP/NodePort/LoadBalancer support
- ConfigMap-based configuration management
- Optional Ingress support for external access
- Health probes for liveness and readiness checks
- In-cluster Kubernetes configuration
- API key authentication support (optional)
- SDK-compatible REST API on port 8080
Pool Management
- Default agent-pool with execd and task-executor sidecar
- Pool template support for creating pre-warmed Pod pools
- Configurable Pool capacity (bufferMin, bufferMax, poolMin, poolMax)
- SDK-compatible Pool configuration with execd on port 44772
Multiple Values Files
values.yaml- Default configuration with agent-pool enabledvalues-e2e.yaml- End-to-end testing with minimal resources (2-5 pods)- Use
--setor custom values files for production/development overrides
Templates
deployment.yaml- Controller manager deploymentserver-deployment.yaml- Server deploymentserver-service.yaml- Server serviceserver-configmap.yaml- Server configurationserver-ingress.yaml- Server ingress (optional)pools.yaml- Dynamic Pool resource generation from valuesserviceaccount.yaml- Service account for controllerclusterrole.yaml- RBAC cluster roleclusterrolebinding.yaml- RBAC cluster role bindingleader-election-role.yaml- Leader election RBACleader-election-rolebinding.yaml- Leader election bindingmetrics-service.yaml- Metrics service endpointmetrics-rbac.yaml- Metrics RBAC resourcesservicemonitor.yaml- Prometheus ServiceMonitor (optional)extra-roles.yaml- User management roles (viewer, editor)poddisruptionbudget.yaml- High availability Pod disruption budgetNOTES.txt- Post-installation guidance_helpers.tpl- Template helper functions
Scripts
scripts/install.sh- Interactive installation wizard with environment selectionscripts/uninstall.sh- Safe uninstallation with resource cleanupscripts/e2e-test.sh- End-to-end validation (Install → Server → Pool → SDK → Uninstall)scripts/README.md- Comprehensive script documentation and troubleshooting guide
Configuration Options
nameOverrideandfullnameOverridefor custom resource namingserver.enabled- Enable/disable server deployment (default: true)server.service.type- Service type (ClusterIP/NodePort/LoadBalancer)server.service.nodePort- NodePort value (optional)server.ingress.enabled- Enable Ingress for external accessserver.config.server.apiKey- Optional API key authenticationhealthProbePort- Configurable health check port (default: 8081)healthProbes.liveness- Liveness probe timing configurationhealthProbes.readiness- Readiness probe timing configurationpodDisruptionBudget.enabled- Optional PDB for HA deploymentsnamespaceOverride- Custom namespace (default: opensandbox)
Documentation
- Comprehensive README.md with installation and configuration guide
- examples/README.md with usage scenarios and best practices
- examples/pool-agent-production.yaml with production-ready Pool configuration
- examples/DIRECTORY_STRUCTURE.md explaining file organization
- Example YAML files for Pool and BatchSandbox resources
Configuration Defaults
- Controller image:
opensandbox/controller:dev - Server image:
opensandbox/server:v0.1.0 - Task executor image:
opensandbox/task-executor:dev - Image pull policy:
Never(for local development) - Namespace:
opensandbox - Controller replicas: 1 (3 in production values)
- Server replicas: 1
- Server enabled: true (required for SDK usage)
- Default Pool enabled:
agent-poolwith 2-5 pods (E2E) or 10-100 pods (default)
Notes
- This is the initial release of the Helm chart
- All templates have been tested with
helm lintand E2E validation - Chart supports Kubernetes 1.19+