Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] shorten RayClusterSuffix to have more space for RayService and RayJob names #3102

Conversation

rueian
Copy link
Contributor

@rueian rueian commented Feb 25, 2025

Why are these changes needed?

Currently, KubeRay adds different suffixes to make different services for a RayCluster. It will also trim these service names if they are too long to fit the 63-character limitation by k8s. However, the silent cut is not user-friendly as users can't easily know the resulting service names beforehand.

As a part of #3076: we are going to add a length validation to RayCluster names in v1.4 to make sure the silent cut does not take place while keeping sufficient room for the names specified by users, this PR shortens the -raycluster-xxxxx RayCluster suffix to just -xxxxx for RayJob and RayService, saving 11 characters for users to not be hit by the new length validation.

Related issue number

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

… RayJob names

Signed-off-by: Rueian <rueiancsie@gmail.com>
@kevin85421 kevin85421 merged commit 7765988 into ray-project:master Feb 25, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants