feat: maintain server until hour
This commit is contained in:
+7
-4
@@ -4,10 +4,10 @@
|
||||
|
||||
## Gitea runner labels
|
||||
|
||||
Common labels for controller-managed zero-idle runners:
|
||||
Common labels for controller-managed on-demand runners:
|
||||
|
||||
- `ubuntu-latest` — zero-idle alias for `gross-x86`
|
||||
- `nix` — zero-idle Nix alias with 480-minute TTL
|
||||
- `ubuntu-latest` — on-demand alias for `gross-x86`
|
||||
- `nix` — on-demand Nix alias with 480-minute TTL
|
||||
- `gross-x86` — x86 fallback chain `cx53` / `cx43` / `cx33`
|
||||
- `gross-arm` — ARM fallback chain `cax41` / `cax31` / `cax21`
|
||||
- `gross-x86-perf` — x86 performance chain `cx53` / `cpx62` / `cpx52`
|
||||
@@ -21,7 +21,10 @@ Common labels for controller-managed zero-idle runners:
|
||||
Region order for fallback: `nbg1`, then `fsn1`, then `hel1`.
|
||||
|
||||
The legacy Kubernetes persistent pool is disabled (`replicas: 0`) and has no
|
||||
registered labels. All listed labels are handled by the zero-idle controller.
|
||||
registered labels. All listed labels are handled by the VM controller. After a
|
||||
successful job, a bootstrapped VM remains running and idle until its next hourly
|
||||
lifetime boundary, capped by label TTL. A queued job from same repository with
|
||||
same label reuses it without another VM creation or budget reservation.
|
||||
|
||||
Operational details: `infra/gitea-runners/runbook.md` and
|
||||
`package/gitea-runner-controller/decide.sh`.
|
||||
|
||||
+3
-3
@@ -201,9 +201,9 @@ build/deploy command, batches of at most 8 paths, and 600 seconds per upload att
|
||||
upload deadline covers the **whole batch**, not each individual path. Its final
|
||||
drain is bounded at 1 hour; the 435-minute job budget leaves 15 minutes for setup
|
||||
and cleanup. The `gross-nix-x86-perf` runner limit and Gitea's endless-task
|
||||
watchdog are 8 hours. The VM lifetime starts at allocation and includes the
|
||||
controller's additional 10-minute grace. A prolonged cache outage can still
|
||||
exhaust the drain before every queued path is uploaded.
|
||||
watchdog are 8 hours. VM hard lifetime starts at allocation and has no controller
|
||||
destruction grace. A prolonged cache outage can still exhaust the drain before
|
||||
every queued path is uploaded.
|
||||
|
||||
The build timeout covers the entire wrapped command, not each derivation.
|
||||
Completed outputs can be reused from the cache, but an interrupted CUDA/Magma
|
||||
|
||||
Reference in New Issue
Block a user