You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Corrected a typo in the configuration type help command.
* Enhanced descriptions for `dstack offer` command, including details on max offers and grouping options.
Copy file name to clipboardExpand all lines: skills/dstack/SKILL.md
+13-14Lines changed: 13 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ description: |
58
58
- Never guess or invent flags. Example verification commands:
59
59
```bash
60
60
dstack --help # List all commands
61
-
dstack apply --help <configuration tpye># Flags for apply per configuration type (dev-environment, task, service, fleet, etc)
61
+
dstack apply --help <configuration type># Flags for apply per configuration type (dev-environment, task, service, fleet, etc)
62
62
dstack fleet --help # Fleet subcommands
63
63
dstack ps --help # Flags for ps
64
64
```
@@ -412,12 +412,11 @@ dstack stop my-run-name -y
412
412
dstack stop my-run-name --abort
413
413
```
414
414
415
-
### Check available resources
415
+
### List offers
416
416
417
-
```bash
418
-
# List all available offers across backends
419
-
dstack offer --json
417
+
Offers represent available instance configurations available for provisioning across backends. `dstack offer` lists offers regardless of configured fleets.
**Note:** `dstack offer` lists offers across backends regardless of configured fleets.
436
+
**Max offers:** By default, `dstack offer` returns first N offers (output also includes the total number). Use `--max-offers N` to increase the limit.
437
+
**Grouping:** Prefer `--group-by gpu` (other supported values: `gpu,backend`, `gpu,backend,region`) for aggregated output across all offers, not `--max-offers`.
435
438
436
439
## Troubleshooting
437
440
438
441
When diagnosing issues with dstack workloads or infrastructure:
439
442
440
443
1. **Use JSON output for detailed inspection:**
441
444
```bash
442
-
dstack fleet get my-fleet --json | jq .
443
-
dstack run get my-run --json | jq .
444
-
dstack ps -n 10 --json | jq .
445
+
dstack fleet get my-fleet --json
446
+
dstack run get my-run --json
447
+
dstack ps -n 10 --json
448
+
dstack offer --json
445
449
```
446
450
447
451
2. **Check verbose run status:**
@@ -459,11 +463,6 @@ When diagnosing issues with dstack workloads or infrastructure:
0 commit comments