Skip to content

Commit 795c63c

Browse files
authored
added url for dashboard (#19)
Co-authored-by: Atin Sood <[email protected]>
1 parent 9b477b0 commit 795c63c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/codeflare_sdk/cluster/cluster.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,11 @@ def status(self, print_to_console=True):
5353
pretty_print.print_no_resources_found()
5454
return None
5555

56-
def cluster_uri(self):
57-
return f'ray://{self.config.name}-head-svc:10001'
56+
def cluster_uri(self, namespace='default'):
57+
return f'ray://{self.config.name}-head-svc.{namespace}.svc:10001'
58+
59+
def cluster_dashboard_uri(self, namespace='default'):
60+
return f'http://{self.config.name}-head-svc.{namespace}.svc:8265'
5861

5962

6063
# checks whether the ray cluster is ready

0 commit comments

Comments
 (0)