@@ -33,17 +33,19 @@ def delete() -> None:
33
33
help = "Enabling this flag makes the CLI wait until the cluster is deleted." ,
34
34
)
35
35
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.
37
37
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.
41
41
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.
45
46
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!
47
49
"""
48
50
cluster_manager = AWSClusterManager ()
49
51
cluster_manager .delete (cluster_id = cluster , force = force , wait = wait )
0 commit comments