Add hyp create ray-dashboard-connection command - #446
Open
jchatter321 wants to merge 1 commit into
Open
Conversation
psnilesh
reviewed
Aug 11, 2026
| if connection_url: | ||
| click.echo(connection_url) | ||
| else: | ||
| click.echo(f"RayDashboardConnection created in namespace '{namespace}' for cluster '{cluster_name}'") |
There was a problem hiding this comment.
This can never happen because agg APIs are sychronous. Lets fail with an error message 'contact your administrator' or something when URL is null / empty.
Contributor
Author
There was a problem hiding this comment.
Added exception.
psnilesh
reviewed
Aug 11, 2026
| """Create a RayDashboardConnection to get a dashboard URL for a RayCluster.""" | ||
| api_client = _get_eks_api_client() | ||
|
|
||
| body = { |
There was a problem hiding this comment.
Can we handle the case where the ray endpoint operator is not installed gracefully? If kind RayDashboardConnection is not recognized by the API server, lets instruct customers to install ray-endpoint-operator (we'll come back and link the docs when it's ready)
Contributor
Author
There was a problem hiding this comment.
Added exception below.
jchatter321
had a problem deploying
to
manual-approval
August 11, 2026 17:09 — with
GitHub Actions
Error
jchatter321
force-pushed
the
add-hyp-create-ray-dashboard-connection-command
branch
from
August 11, 2026 17:25
bebb5de to
b4aeb21
Compare
jchatter321
force-pushed
the
add-hyp-create-ray-dashboard-connection-command
branch
from
August 11, 2026 17:29
b4aeb21 to
4281c4a
Compare
jchatter321
requested a deployment
to
manual-approval
August 11, 2026 17:33 — with
GitHub Actions
Waiting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a CLI command to create a RayDashboardConnection CR and return the dashboard URL.
Usage:
Returns the connection URL from the operator's extension API. Flag
--namespacedefaults todefaultnamespace if not provided.Testing
Installed CLI with
pip install -e .and successfully generated a RayDashboardConnection usinghyp create ray-dashboard-connection --cluster-name my-raycluster.