2026-10-02 20:43:40 +02:00
|
|
|
# Warm gVisor workers for ax tasks (Agent Substrate WorkerPool), rendered by ops/ax/up.sh (and by
|
|
|
|
|
# ops/ax/probe-placement.sh for the placement probe) from the profile's pool: POOL_NAME, POOL_REPLICAS, POOL_CPU,
|
|
|
|
|
# POOL_MEMORY (ops/k8s/profiles/<profile>.toml, [pools.default]) and WORKER_IMAGE (ko:// for a build, or a
|
|
|
|
|
# digest-pinned reference of a built worker image). ax's per-task ActorTemplates set no workerSelector, so every
|
|
|
|
|
# pool of the matching sandbox class is eligible. An actor occupies a whole worker. Replaced by the renderer of
|
|
|
|
|
# plane-on-kubernetes task 6.1 (ops/k8s/base/workerpool-*.yaml.tmpl).
|
2026-09-29 18:37:25 +02:00
|
|
|
apiVersion: ate.dev/v1alpha1
|
|
|
|
|
kind: WorkerPool
|
|
|
|
|
metadata:
|
2026-10-02 20:43:40 +02:00
|
|
|
name: ${POOL_NAME}
|
2026-09-29 18:37:25 +02:00
|
|
|
namespace: ax-system
|
|
|
|
|
labels:
|
|
|
|
|
workload: ousast
|
|
|
|
|
spec:
|
2026-10-02 20:43:40 +02:00
|
|
|
replicas: ${POOL_REPLICAS}
|
|
|
|
|
workerImage: ${WORKER_IMAGE}
|
2026-09-29 18:37:25 +02:00
|
|
|
template:
|
|
|
|
|
nodeSelector:
|
|
|
|
|
ate.dev/substrate-version: "${SUBSTRATE_VERSION}"
|
|
|
|
|
resources:
|
|
|
|
|
limits:
|
2026-10-02 20:43:40 +02:00
|
|
|
cpu: "${POOL_CPU}"
|
|
|
|
|
memory: ${POOL_MEMORY}
|
2026-09-29 18:37:25 +02:00
|
|
|
requests:
|
|
|
|
|
cpu: 250m
|
2026-10-02 20:43:40 +02:00
|
|
|
memory: ${POOL_MEMORY}
|