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

Stop-and-delete a cluster in a single plan call #9

Closed
jay7x opened this issue Apr 10, 2023 · 1 comment
Closed

Stop-and-delete a cluster in a single plan call #9

jay7x opened this issue Apr 10, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jay7x
Copy link
Owner

jay7x commented Apr 10, 2023

Quite frequently I'm stopping a cluster to delete it after. So it'd be nice to have ability to stop a cluster and delete it in the same plan call. There are options:

  1. Add delete=true parameter to the lima::cluster::stop plan
  2. Add stop=true parameter to the lima::cluster::delete plan
  3. Implement both options above
@jay7x jay7x added enhancement New feature or request good first issue Good for newcomers labels Apr 10, 2023
@jay7x
Copy link
Owner Author

jay7x commented Apr 24, 2023

To be consistent with stop => restart case I'd say it should be option (2). I.e. use stop=true parameter of the lima::cluster::delete plan. If one want to delete a cluster then calling the lima::cluster::delete plan sounds more logical.

jay7x added a commit that referenced this issue Mar 24, 2024
@jay7x jay7x closed this as completed in acc87e2 Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant