perf: speed up first bootstrap with fast-mode defaults
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 1m59s

This commit is contained in:
2026-03-01 03:33:33 +00:00
parent 92a0908ff5
commit 760d0e8b5b
4 changed files with 20 additions and 4 deletions

View File

@@ -108,9 +108,12 @@ $EDITOR ./scripts/inventory.env
Optional tuning env vars:
```bash
WORKER_PARALLELISM=2 REBUILD_TIMEOUT=45m REBUILD_RETRIES=2 ./scripts/rebuild-and-bootstrap.sh
FAST_MODE=1 WORKER_PARALLELISM=3 REBUILD_TIMEOUT=45m REBUILD_RETRIES=2 ./scripts/rebuild-and-bootstrap.sh
```
- `FAST_MODE=1` skips pre-rebuild remote GC cleanup to reduce wall-clock time.
- Set `FAST_MODE=0` for a slower but more aggressive space cleanup pass.
3. If you only want to reset Kubernetes state on existing VMs:
```bash