[Doc] Update Serve replica scheduling docs for label_selector and fal…#60922
[Doc] Update Serve replica scheduling docs for label_selector and fal…#60922abrarsheikh merged 10 commits intoray-project:masterfrom
Conversation
…lback_strategy API Signed-off-by: ryanaoleary <ryanaoleary@google.com>
There was a problem hiding this comment.
Code Review
This pull request updates the replica scheduling documentation to incorporate new features: label_selector, fallback_strategy, and placement_group_bundle_label_selector. The changes are well-structured and clearly explain the new functionalities with corresponding code examples. I've identified a minor typo and suggested including a missing code example to enhance the documentation's clarity.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Ryan O'Leary <113500783+ryanaoleary@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Ryan O'Leary <113500783+ryanaoleary@users.noreply.github.com>
|
|
||
| # __custom_resources_main_start__ | ||
| # __label_selector_main_start__ | ||
| if __name__ == "__main__": |
There was a problem hiding this comment.
Similarly, let's make other examples runnable at doc test time. That will ensure examples dont drift with changing APIs
There was a problem hiding this comment.
wonder what the behavior is with label selector?
There was a problem hiding this comment.
It filters by label selector first and then does the bin-packing, added this description in:
e65d60b
Signed-off-by: ryanaoleary <ryanaoleary@google.com>
Signed-off-by: ryanaoleary <ryanaoleary@google.com>
Signed-off-by: ryanaoleary <ryanaoleary@google.com>
|
@ryanaoleary please fix the doc test |
Signed-off-by: ryanaoleary <ryanaoleary@google.com>
|
Should be fixed with b7d26b9, ran it successfully with: |
Signed-off-by: ryanaoleary <ryanaoleary@google.com>
ray-project#60922) ## Description This PR adds documentation for the changes added in ray-project#57694, specifically the `label_selector`, `fallback_strategy`, and `placement_group_bundle_label_selector` added to the Serve API. ## Related issues ray-project#51564 ## Additional information --------- Signed-off-by: ryanaoleary <ryanaoleary@google.com> Signed-off-by: Ryan O'Leary <113500783+ryanaoleary@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Adel Nour <ans9868@nyu.edu>
ray-project#60922) ## Description This PR adds documentation for the changes added in ray-project#57694, specifically the `label_selector`, `fallback_strategy`, and `placement_group_bundle_label_selector` added to the Serve API. ## Related issues ray-project#51564 ## Additional information --------- Signed-off-by: ryanaoleary <ryanaoleary@google.com> Signed-off-by: Ryan O'Leary <113500783+ryanaoleary@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
ray-project#60922) ## Description This PR adds documentation for the changes added in ray-project#57694, specifically the `label_selector`, `fallback_strategy`, and `placement_group_bundle_label_selector` added to the Serve API. ## Related issues ray-project#51564 ## Additional information --------- Signed-off-by: ryanaoleary <ryanaoleary@google.com> Signed-off-by: Ryan O'Leary <113500783+ryanaoleary@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: peterxcli <peterxcli@gmail.com>
ray-project#60922) ## Description This PR adds documentation for the changes added in ray-project#57694, specifically the `label_selector`, `fallback_strategy`, and `placement_group_bundle_label_selector` added to the Serve API. ## Related issues ray-project#51564 ## Additional information --------- Signed-off-by: ryanaoleary <ryanaoleary@google.com> Signed-off-by: Ryan O'Leary <113500783+ryanaoleary@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: peterxcli <peterxcli@gmail.com>
ray-project#60922) ## Description This PR adds documentation for the changes added in ray-project#57694, specifically the `label_selector`, `fallback_strategy`, and `placement_group_bundle_label_selector` added to the Serve API. ## Related issues ray-project#51564 ## Additional information --------- Signed-off-by: ryanaoleary <ryanaoleary@google.com> Signed-off-by: Ryan O'Leary <113500783+ryanaoleary@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Description
This PR adds documentation for the changes added in #57694, specifically the
label_selector,fallback_strategy, andplacement_group_bundle_label_selectoradded to the Serve API.Related issues
#51564
Additional information