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

[Refactor][RayService] Add conditions to RayService #2807

Conversation

MortalHappiness
Copy link
Member

@MortalHappiness MortalHappiness commented Jan 23, 2025

Why are these changes needed?

This PR implements Ready and UpgradeInProgress conditions for RayService.

Related issue number

Closes: #2751

Checks

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

@MortalHappiness MortalHappiness force-pushed the feature/#2751-rayservice-conditions branch 4 times, most recently from 49d64e6 to 5cccedc Compare January 23, 2025 13:24
@MortalHappiness MortalHappiness force-pushed the feature/#2751-rayservice-conditions branch from 03228b6 to 8f6e447 Compare January 24, 2025 17:26
@MortalHappiness MortalHappiness marked this pull request as ready for review January 24, 2025 17:27
@@ -128,6 +129,15 @@ func (r *RayServiceReconciler) Reconcile(ctx context.Context, request ctrl.Reque
// TODO (kevin85421): ObservedGeneration should be used to determine whether to update this CR or not.
rayServiceInstance.Status.ObservedGeneration = rayServiceInstance.ObjectMeta.Generation

// Initialize conditions for RayService.
Copy link
Member

Choose a reason for hiding this comment

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

we should try to not to add a new place to call Status().Update(). You can remove it from this PR for now and open an issue to track the progress.

@MortalHappiness MortalHappiness force-pushed the feature/#2751-rayservice-conditions branch from 8f6e447 to 96ca6d7 Compare January 25, 2025 06:58
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.

I will open some follow up PRs later.

@kevin85421 kevin85421 merged commit 008cd4f into ray-project:master Jan 26, 2025
24 checks passed
@kevin85421 kevin85421 mentioned this pull request Jan 27, 2025
48 tasks
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.

[RayService][Refactor] Add conditions to RayService
2 participants