mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 14:42:31 +08:00
[Projects] Delete pods associated with the project when running ray session stop (#6787)
This commit is contained in:
@@ -326,6 +326,10 @@ def attach(screen, tmux):
|
||||
@click.option("--name", help="Name of the session to stop", default=None)
|
||||
def stop(name):
|
||||
project_definition = load_project_or_throw()
|
||||
|
||||
if not name:
|
||||
name = project_definition.config["name"]
|
||||
|
||||
teardown_cluster(
|
||||
project_definition.cluster_yaml(),
|
||||
yes=True,
|
||||
|
||||
Reference in New Issue
Block a user