dstackai / dstack

dstack is an easy-to-use and flexible container orchestrator for running AI workloads in any cloud or data center.
https://dstack.ai
Mozilla Public License 2.0
1.22k stars 89 forks source link

[Feature]: Remove multiple instances with `dstack pool rm` #1283

Open jvstme opened 1 month ago

jvstme commented 1 month ago

Problem

If there are several instances in your pool that you want to remove, you have to call dstack pool rm for each one individually, which takes a lot of time.

Solution

Allow specifying multiple instances in dstack pool rm.

dstack pool rm instance-1 instance-2 ... instance-n

Apart from being more convenient, this is also consistent with the rm command in other software, e.g. POSIX rm, docker rm, terraform state rm.

Workaround

No response

Would you like to help us implement this feature by sending a PR?

Yes

peterschmidt85 commented 1 week ago

This issue is stale because it has been open for 30 days with no activity.