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

[Helm] Clean up RayCluster Helm chart ahead of KubeRay 0.4.0 release #751

Merged

Conversation

DmitriGekhtman
Copy link
Collaborator

@DmitriGekhtman DmitriGekhtman commented Nov 21, 2022

Why are these changes needed?

This PR cleans up the ray-cluster Helm chart.

  • Removes unnecessary and deprecated fields.
  • Adds some comments
  • Renames initArgs to rayStartParams in a backwards-compatible way.

Related issue number

Closes #739

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests: I deployed a Ray cluster using the default chart.
    • This PR is not tested :(

Signed-off-by: Dmitri Gekhtman <dmitri.m.gekhtman@gmail.com>
Signed-off-by: Dmitri Gekhtman <dmitri.m.gekhtman@gmail.com>
Signed-off-by: Dmitri Gekhtman <dmitri.m.gekhtman@gmail.com>
Signed-off-by: Dmitri Gekhtman <dmitri.m.gekhtman@gmail.com>
Signed-off-by: Dmitri Gekhtman <dmitri.m.gekhtman@gmail.com>
Copy link
Member

@kevin85421 kevin85421 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR deletes a lot of redundant environment variables (I am not sure how to check whether they are redundant or not). An environment variable may be used by KubeRay or Ray. Is there any document about environment variables for Ray? Others look good to me.

helm-chart/ray-cluster/values.yaml Outdated Show resolved Hide resolved
Co-authored-by: Kai-Hsun Chen <kaihsun@apache.org>
Signed-off-by: Dmitri Gekhtman <62982571+DmitriGekhtman@users.noreply.github.com>
@DmitriGekhtman
Copy link
Collaborator Author

This PR deletes a lot of redundant environment variables (I am not sure how to check whether they are redundant or not). An environment variable may be used by KubeRay or Ray. Is there any document about environment variables for Ray? Others look good to me.

I can certify that none of the environment variables are used by recent versions of Ray or KubeRay.
I did a similar cleanup of RayCluster CRs just before the 0.3.0 release.

Signed-off-by: Dmitri Gekhtman <62982571+DmitriGekhtman@users.noreply.github.com>
Copy link
Member

@kevin85421 kevin85421 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DmitriGekhtman DmitriGekhtman merged commit 3a512da into ray-project:master Nov 22, 2022
lowang-bh pushed a commit to lowang-bh/kuberay that referenced this pull request Sep 24, 2023
…ay-project#751)

This PR cleans up the ray-cluster Helm chart.

Removes unnecessary and deprecated fields.
Adds some comments
Renames initArgs to rayStartParams in a backwards-compatible way.

Signed-off-by: Dmitri Gekhtman <dmitri.m.gekhtman@gmail.com>
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.

[Feature] After KubeRay 0.4.0 release, emphasize Helm
2 participants