限制 OpenSandbox 仅调度 VM
yaml / yaml (pull_request) Successful in 19s

This commit is contained in:
2026-09-20 17:19:12 +00:00
parent 8896d58b89
commit eb52197eee
2 changed files with 17 additions and 3 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
# OpenSandbox Gitea runner Pools # OpenSandbox Gitea runner Pools
本目录部署 `ci-vm` 和 `ci-pod` 两个零预热 Pool、sandbox 内的 SPIFFE identity 本目录只部署零预热的 `ci-vm` Pool、sandbox 内的 SPIFFE identity controller,以及仅供
controller,以及仅供内网 VyOS 转发的 OpenSandbox NodePort。`ci-vm` 使用 内网 VyOS 转发的 OpenSandbox NodePort。`ci-vm` 使用 `kata-clh-runtime-rs`,每个 VM
`kata-clh-runtime-rs`,`ci-pod` 使用默认 runtime;两者均为单任务、用后删除。 执行单一任务并在结束后删除。普通 Pod job 直接运行在 homelab,不进入 OpenSandbox。
Pool 中 task-executor 接收 Lifecycle API 下发的进程环境。guest-local SPIRE Agent 用 Pool 中 task-executor 接收 Lifecycle API 下发的进程环境。guest-local SPIRE Agent 用
Pod-bound PSAT 向中央 SPIRE 注册;identity controller 从 BatchSandbox allocation Pod-bound PSAT 向中央 SPIRE 注册;identity controller 从 BatchSandbox allocation
@@ -6,3 +6,17 @@ resources:
- rbac.yaml - rbac.yaml
- identity-controller.yaml - identity-controller.yaml
- pools.yaml - pools.yaml
patches:
# Pod jobs run directly in the homelab cluster. Keep OpenSandbox VM-only.
- target:
group: sandbox.opensandbox.io
version: v1alpha1
kind: Pool
name: ci-pod
patch: |-
apiVersion: sandbox.opensandbox.io/v1alpha1
kind: Pool
metadata:
name: ci-pod
namespace: opensandbox
$patch: delete