From 991d45b00e788d1fd976d78a342628df7d92b7d2 Mon Sep 17 00:00:00 2001 From: Tian Xia Date: Wed, 13 Dec 2023 15:13:11 -0800 Subject: [PATCH] Update sky/cli.py Co-authored-by: Zhanghao Wu --- sky/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sky/cli.py b/sky/cli.py index b065d051176..24e01b3a8c4 100644 --- a/sky/cli.py +++ b/sky/cli.py @@ -4291,6 +4291,8 @@ def serve_up( raise ValueError(f'Port {service_port_str!r} is not a valid port ' 'number. Please specify a single port instead. ' f'Got: {service_port_str!r}') + # We request all the replicas using the same port for now, but it should be + # fine to allow different repilcas to use different ports in the future. resource_port = int(service_port_str) if service_port is None: service_port = resource_port