Skip to content

[docs] update intallation document#130

Merged
slin1237 merged 2 commits into
mainfrom
slin/installation-doc-fix
Jul 5, 2025
Merged

[docs] update intallation document#130
slin1237 merged 2 commits into
mainfrom
slin/installation-doc-fix

Conversation

@slin1237
Copy link
Copy Markdown
Collaborator

@slin1237 slin1237 commented Jul 4, 2025

What type of PR is this?

/kind documentation

What this PR does / why we need it:

This PR improves the installation documentation to clearly distinguish between required and optional components for OME deployment.

Changes made:

  • Reorganized the installation guide to separate required vs optional components
  • Added a comprehensive table showing which optional components are needed for specific deployment modes
  • Clarified deployment mode descriptions, including the new PDDisaggregated mode
  • Added clear warnings about installing required CRDs (LeaderWorkerSet) before using MultiNode deployment modes
  • Improved section headers and navigation structure
  • Added example installation commands for LeaderWorkerSet
  • Fixed numbering inconsistency in the table of contents

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

  • The documentation now explicitly warns users that MultiNode deployment modes require LeaderWorkerSet to be installed BEFORE deploying OME
  • The PDDisaggregated mode was added to the deployment modes list as it was found in the codebase but missing from documentation

Does this PR introduce a user-facing change?

Improved installation documentation to clearly distinguish between required and optional components, added warnings about prerequisites for MultiNode deployment
modes, and documented the PDDisaggregated deployment mode.

@github-actions github-actions Bot added the documentation Documentation changes label Jul 4, 2025
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Summary of Changes

Hello @slin1237, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request improves the OME installation documentation by reorganizing the content to clearly differentiate between required and optional components. It also clarifies the different deployment modes, adds a warning about the prerequisites for MultiNode deployments, and provides example installation commands. The goal is to reduce user confusion and prevent runtime errors.

Highlights

  • Documentation Restructuring: Reorganized the installation guide to clearly distinguish between required and optional components for OME deployment.
  • Deployment Modes Clarification: Clarified deployment mode descriptions, including the addition of the PDDisaggregated mode.
  • Prerequisites Warning: Added clear warnings about installing required CRDs (LeaderWorkerSet) before using MultiNode deployment modes to prevent runtime panics.
  • Optional Component Table: Added a comprehensive table showing which optional components are needed for specific deployment modes.
  • Installation Examples: Added example installation commands for LeaderWorkerSet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request significantly improves the installation documentation by clearly separating required and optional components, adding a comprehensive table, and clarifying deployment modes. The changes enhance user understanding and prevent potential issues. My review identified a minor numbering inconsistency in the table of contents and two areas where clarity could be further improved regarding optional component prerequisites and example installation commands to ensure users have all necessary information for a successful setup.

Comment thread site/content/en/docs/installation/_index.md Outdated
| **Kueue** | Job scheduling | Kubernetes-native job queueing |

!!! warning
**Important**: If you plan to use `MultiNode` or `MultiNodeRayVLLM` deployment modes, you MUST install the corresponding optional components (Ray and/or LWS) BEFORE installing OME. The controller may panic if these CRDs are not available when needed.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The warning mentions "Ray and/or LWS" as required optional components for MultiNodeRayVLLM deployment modes. However, the "Optional Components" table (lines 46-53) only lists "LeaderWorkerSet (LWS)" and does not explicitly mention Ray. For clarity and completeness, please add Ray to the "Optional Components" table if it's a distinct prerequisite, or clarify its relationship with LWS for MultiNodeRayVLLM mode.

Please refer to [LeaderWorkerSet installation guide](https://github.com/kubernetes-sigs/lws).

Example installation:
```shell
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The example installation command for LeaderWorkerSet only applies the webhook component (lws-webhook.yaml). A complete LWS installation typically involves both the webhook and the controller. To prevent incomplete installations, consider providing the full installation command that includes both components, or explicitly state that this example is only for the webhook and users should refer to the full guide for a complete setup.

Suggested change
```shell
kubectl apply --server-side -f https://github.com/kubernetes-sigs/lws/releases/download/v0.3.0/lws-webhook.yaml
kubectl apply --server-side -f https://github.com/kubernetes-sigs/lws/releases/download/v0.3.0/lws-controller.yaml

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@slin1237 slin1237 merged commit 5bf5cc7 into main Jul 5, 2025
23 checks passed
@slin1237 slin1237 deleted the slin/installation-doc-fix branch July 5, 2025 00:07
slin1237 added a commit that referenced this pull request Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant