Merge pull request '限制 OpenSandbox 仅调度 VM' (#107) from fix/enable-native-pod-worker into main
yaml / yaml (push) Successful in 20s
yaml / yaml (push) Successful in 20s
This commit was merged in pull request #107.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user