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

[cherry-pick] Generate RayCluster Hash on KubeRay Version Change (#2320) #2339

Conversation

kevin85421
Copy link
Member

Why are these changes needed?

Related issue number

Checks

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

* Re-generate hash when KubeRay version changes

Signed-off-by: Ryan O'Leary <ryanaoleary@google.com>

* Change logic to DoNothing on KubeRay version mismatch

Signed-off-by: Ryan O'Leary <ryanaoleary@google.com>

* Add KubeRay version annotation to test

Signed-off-by: Ryan O'Leary <ryanaoleary@google.com>

* Move update logic

Signed-off-by: Ryan O'Leary <ryanaoleary@google.com>

* Update rayservice_controller.go

Signed-off-by: ryanaoleary <113500783+ryanaoleary@users.noreply.github.com>

* Add unit test

Signed-off-by: Ryan O'Leary <ryanaoleary@google.com>

* Add period

Signed-off-by: Ryan O'Leary <ryanaoleary@google.com>

* Go vet changes

Signed-off-by: Ryan O'Leary <ryanaoleary@google.com>

* Update rayservice_controller_unit_test.go

Signed-off-by: ryanaoleary <113500783+ryanaoleary@users.noreply.github.com>

* Address test comments

Signed-off-by: Ryan O'Leary <ryanaoleary@google.com>

---------

Signed-off-by: Ryan O'Leary <ryanaoleary@google.com>
Signed-off-by: ryanaoleary <113500783+ryanaoleary@users.noreply.github.com>
@kevin85421 kevin85421 marked this pull request as ready for review August 27, 2024 00:00
@kevin85421 kevin85421 merged commit 4dcdc8e into ray-project:release-1.2.0 Aug 27, 2024
2 of 3 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