[RayService][Health-Check][2/n] Remove the hotfix to prevent unnecessary HTTP requests #1658
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why are these changes needed?
This PR removes the hotfix made by #1581. As stated in the description of PR #1581 shown below, this change is implemented to respect the health check mechanism of RayService. However, we have already decided to offload the health check responsibilities to K8s and RayCluster, and RayService controller will no longer trigger new RayCluster preparation based on the data plane status (Ray Serve status & Ray dashboard agent status). Thus, it is safe to remove the hotfix and offload the responsibilities to the Pod's liveness probes.
Related issue number
Checks