Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs]: Unclear description for the --reuse flag #1342

Closed
smokfyz opened this issue Jun 19, 2024 · 0 comments · Fixed by #1347
Closed

[Docs]: Unclear description for the --reuse flag #1342

smokfyz opened this issue Jun 19, 2024 · 0 comments · Fixed by #1347
Assignees
Labels
docs Improvements or additions to documentation

Comments

@smokfyz
Copy link
Contributor

smokfyz commented Jun 19, 2024

Problem

By default, when using the dstack run command, it tries to reuse an instance from a pool. If no idle instance meets the requirements, dstack automatically provisions a new cloud instance and adds it to the pool.

To avoid provisioning new cloud instances with dstack run, use --reuse. Your run will be assigned to an idle instance in the pool.

It is not clear that the flag prevent provisioning and forces the use of existing instances.

Solution

Add a description that the flag forces the reuse of existing instances or fail.

Workaround

No response

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

Yes

@smokfyz smokfyz added the docs Improvements or additions to documentation label Jun 19, 2024
@smokfyz smokfyz self-assigned this Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant