-
Notifications
You must be signed in to change notification settings - Fork 448
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] REP 54: Refactor usages of the inconsistentRayClusterStatus function #2235
Closed
2 tasks done
Labels
Comments
Hi @MortalHappiness, would you like to take this one? |
Hi @rueian. Yes. I am glad to take this issue. Can you assign it to me? Thanks. |
4 tasks
MortalHappiness
added a commit
to MortalHappiness/kuberay
that referenced
this issue
Jul 16, 2024
Resolves: ray-project#2235 Signed-off-by: Chi-Sheng Liu <[email protected]>
4 tasks
MortalHappiness
added a commit
to MortalHappiness/kuberay
that referenced
this issue
Jul 16, 2024
Resolves: ray-project#2235 Signed-off-by: Chi-Sheng Liu <[email protected]>
MortalHappiness
added a commit
to MortalHappiness/kuberay
that referenced
this issue
Jul 16, 2024
Resolves: ray-project#2235 Signed-off-by: Chi-Sheng Liu <[email protected]>
MortalHappiness
added a commit
to MortalHappiness/kuberay
that referenced
this issue
Jul 17, 2024
Resolves: ray-project#2235 Signed-off-by: Chi-Sheng Liu <[email protected]>
MortalHappiness
added a commit
to MortalHappiness/kuberay
that referenced
this issue
Jul 17, 2024
Resolves: ray-project#2235 Signed-off-by: Chi-Sheng Liu <[email protected]>
MortalHappiness
added a commit
to MortalHappiness/kuberay
that referenced
this issue
Jul 17, 2024
Resolves: ray-project#2235 Signed-off-by: Chi-Sheng Liu <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search before asking
Description
This is one of the tracking items of the REP: RayCluster status improvement, the step 3 in the design doc: https://docs.google.com/document/d/1bRL0cZa87eCX6SI7gqthN68CgmHaB6l3-vJuIse-BrY
As @kevin85421 stated in the design doc, the current status update process in the RayCluster controller is quite random. For example, if some errors are thrown, the function rayClusterReconcile returns immediately and updates some parts of the RayCluster CR status randomly. Sometimes it doesn’t update anything; sometimes it updates Status.State and/or Status.Reason.
We should make sure every reconciliation that has a status change goes through the inconsistentRayClusterStatus function, and we only call r.Status().Update(...) when it returns true.
By doing so, we can then move forward with confidence that future works in the REP: RayCluster status improvement will be on track.
Use case
No response
Related issues
ray-project/enhancements#54
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: