Skip to content

Commit 75b0573

Browse files
rlizzoBorda
andauthored
lightning delete cluster CLI command help text update (#15760)
* updated the lighting delete cluster CLI command help text output * updated changelog * typo fix * Apply suggestions from code review Co-authored-by: Jirka Borovec <[email protected]>
1 parent 1a07a9c commit 75b0573

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

src/lightning_app/cli/lightning_cli_delete.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,19 @@ def delete() -> None:
3333
help="Enabling this flag makes the CLI wait until the cluster is deleted.",
3434
)
3535
def delete_cluster(cluster: str, force: bool = False, wait: bool = False) -> None:
36-
"""Delete a Lightning AI BYOC compute cluster and all associated cloud provider resources.
36+
"""Delete a Lightning AI BYOC cluster and all associated cloud provider resources.
3737
38-
Deleting a run also deletes all Runs and Experiments that were started on the cluster.
39-
Deletion permanently removes not only the record of all runs on a cluster, but all associated experiments,
40-
artifacts, metrics, logs, etc.
38+
Deleting a cluster also deletes all apps that were started on the cluster.
39+
Deletion permanently removes not only the record of all apps run on a cluster,
40+
but all associated data, artifacts, metrics, logs, web-UIs, etc.
4141
42-
WARNING: This process may take a few minutes to complete, but once started it CANNOT be rolled back.
43-
Deletion permanently removes not only the BYOC cluster from being managed by Lightning AI, but tears down
44-
every BYOC resource Lightning AI managed (for that cluster id) in the host cloud.
42+
WARNING: This process may take a few minutes to complete, but once started it
43+
CANNOT be rolled back. Deletion tears down every cloud provider resource
44+
managed by Lightning AI and permanently revokes the ability for Lightning AI
45+
to create, manage, or access any resources within the host cloud account.
4546
46-
All object stores, container registries, logs, compute nodes, volumes, etc. are deleted and cannot be recovered.
47+
All object stores, container registries, logs, compute nodes, volumes,
48+
VPC components, etc. are irreversibly deleted and cannot be recovered!
4749
"""
4850
cluster_manager = AWSClusterManager()
4951
cluster_manager.delete(cluster_id=cluster, force=force, wait=wait)

0 commit comments

Comments
 (0)