Commit Graph

6 Commits

Author SHA1 Message Date
Luca Furst 64d0ebbd9b
Add guards to cluster deletion from cli (#16053)
Adds guards to cluster deletion.
- If cluster has running apps -> throw an error
- If cluster has stopped apps -> confirm w/ user that apps and logs will be deleted
2022-12-14 20:38:03 +00:00
Raphael Randschau a82be2ffad
[CLI] drop name column from cluster list (#15721)
* drop name column from cluster list

* change create cluster to accept id as well

* rename validator

* remove cluster name from logs

* fix merge with master

* more merge with master issues
2022-12-02 19:27:24 -08:00
Luca Furst 33e1f9345d
[App] Improve cluster creation / deletion experience (#15458)
Cluster creation and deletion can take a long time. Instead of having these long running operations happen in the background, they should happen in the foreground. The advantage is that failures are brought to the users attention immediately, instead of the next time they decide to run `lightning list clusters`.

While the CLI waits for the cluster to run / delete, it will display cluster status changes to the user.

This PR also hides the `--enable-performance` and `--edit-before-creation` creation flags, as well as the `--force` deletion flag. They are either not frequently used (performance mode is expensive), or prone to misuse.


Co-authored-by: Neven Miculinic <neven.miculinic@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Raphael Randschau <nicolai86@users.noreply.github.com>
2022-11-28 16:38:43 +00:00
Luca Furst ec156ad6e3
[App] Remove --instance-types from cluster creation (#15314)
## What does this PR do?

Removes the ability to specify `--instance-types` when creating clusters.

Instead, all clusters will be able to use every instance type supported by the platform.
2022-10-31 18:19:26 +00:00
Sherin Thomas 7dbd038a94
Bump lightning cloud for memory leak fix (#14697)
Bump lightning cloud for memory leak fix (#14697)
2022-09-15 17:59:12 +05:30
Raphael Randschau 2919dcf7ee
[CLI] add support for cluster management (#13835) 2022-08-02 10:31:09 +02:00