perf: speed up first bootstrap with fast-mode defaults
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 1m59s
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 1m59s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user