Update README and CLI documentation for tunnel functionality

- Enhanced README.md to clarify the `gpu-rent up` command, including default tunnel behavior and options for cloud-only operation.
- Updated cli.md to reflect changes in the `gpu-rent up` command, detailing the new `--no-tunnel` option and its implications.
- Revised decisions.md to explain the separation of `up` and `tunnel` commands, emphasizing the default tunnel opening after `up`.
- Improved doctor.py to provide clearer instructions regarding tunnel creation and cloud-only usage.
- Adjusted notify.py to reflect the updated command usage for accessing the SwarmUI.
This commit is contained in:
Leonid Pershin
2026-08-21 04:43:33 +03:00
parent c7a56bdd56
commit ec42830579
6 changed files with 48 additions and 12 deletions
+7 -4
View File
@@ -13,8 +13,9 @@
.\gpu-rent.ps1 doctor # preflight
.\gpu-rent.ps1 flavors # что выберет фоллбек
.\gpu-rent.ps1 dry-run # план без create
.\gpu-rent.ps1 up --yes # GPU + SwarmUI + seed
.\gpu-rent.ps1 tunnel # UI на :17801 (Ctrl+C ≠ stop)
.\gpu-rent.ps1 up --yes # GPU + SwarmUI + seed + туннель :17801
.\gpu-rent.ps1 up --yes --no-tunnel # только облако
.\gpu-rent.ps1 tunnel --open # снова открыть UI, если туннель закрыли
.\gpu-rent.ps1 hold # отложить idle-killer
.\gpu-rent.ps1 stop # гасить compute, диски оставить
```
@@ -38,8 +39,10 @@ Unix: `./gpu-rent.sh …` (один раз `chmod +x gpu-rent.sh`).
| --- | --- |
| `doctor` | Keystone, квота GPU, flavor, Civitai, манифесты |
| `flavors` | Живой список по `FLAVOR_PREFERENCE` |
| `up` / `up --yes` / `up --no-spot` / `up --flavor ID` | Поднять GPU |
| `tunnel` / `tunnel --open` | SSH-проброс; watchdog на EXPIRED |
| `up` / `up --yes` | Поднять GPU + туннель :17801 (браузер). Ctrl+C = туннель off |
| `up --no-tunnel` | Только облако |
| `up --no-spot` / `up --flavor ID` | Обычный тариф / явный flavor |
| `tunnel` / `tunnel --open` | Повторный проброс; watchdog на EXPIRED |
| `open` | Браузер на 17801 |
| `hold` / `hold --minutes 90` / `hold --clear` | Пауза idle-killer |
| `status` | Nova + диск + killer |