Skip to content

Commit

Permalink
[k8s] Check only kubernetes for sky local down (#3578)
Browse files Browse the repository at this point in the history
check only kubernetes for local down
  • Loading branch information
romilbhardwaj authored May 22, 2024
1 parent 89e8d48 commit 211386f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sky/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4995,7 +4995,7 @@ def local_up(gpus: bool):
f'\nError: {style.BRIGHT}{stderr}{style.RESET_ALL}')
# Run sky check
with rich_utils.safe_status('[bold cyan]Running sky check...'):
sky_check.check(clouds=('kubernetes',), quiet=True)
sky_check.check(clouds=['kubernetes'], quiet=True)
if cluster_created:
# Prepare completion message which shows CPU and GPU count
# Get number of CPUs
Expand Down Expand Up @@ -5097,7 +5097,7 @@ def local_down():
if cluster_removed:
# Run sky check
with rich_utils.safe_status('[bold cyan]Running sky check...'):
sky_check.check(quiet=True)
sky_check.check(clouds=['kubernetes'], quiet=True)
click.echo(
f'{colorama.Fore.GREEN}Local cluster removed.{style.RESET_ALL}')

Expand Down

0 comments on commit 211386f

Please sign in to comment.