Skip to content

Conversation

@bearslyricattack
Copy link
Member

  • Please check if the PR fulfills these requirements
  • The commit message follows our guidelines
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
  • What this PR does / why we need it:

  • Which issue(s) this PR fixes:

@volcano-sh-bot volcano-sh-bot added retest-not-required-docs-only kind/bug Categorizes issue or PR as related to a bug. labels Jul 20, 2025
@volcano-sh-bot volcano-sh-bot requested a review from Arhell July 20, 2025 13:55
@volcano-sh-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign thor-wl
You can assign the PR to them by writing /assign @thor-wl in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@volcano-sh-bot volcano-sh-bot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. kind/documentation Categorizes issue or PR as related to documentation. kind/feature Categorizes issue or PR as related to a new feature. kind/design Categorizes issue or PR as related to design. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jul 20, 2025
Copy link

@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 @bearslyricattack, 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 significantly expands the Volcano project's documentation by introducing new guides for integrating with several popular AI/ML and workflow orchestration frameworks. It also enriches existing documentation with advanced features and tools, aiming to provide users with more comprehensive resources for leveraging Volcano's capabilities in diverse computing environments.

Highlights

  • New Ecosystem Integrations: Added comprehensive documentation for integrating and running various AI/ML and workflow frameworks (MXNet, Argo, Cromwell, Horovod, PyTorch, Ray) on Volcano, providing detailed setup instructions and examples for each.
  • Kubeflow Documentation Enhancement: Enhanced the existing Kubeflow on Volcano documentation with new sections covering gang scheduling support and the usage of the Arena command-line tool for managing Volcano jobs, offering more advanced operational guidance.
  • Multilingual Documentation: Provided both English and Chinese versions for all newly added and updated documentation, ensuring broader accessibility for the Volcano community.
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.

Signed-off-by: 抒情熊 <[email protected]>
Copy link

@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 adds documentation for integrating Volcano with various ecosystem projects. The review focuses on improving consistency, correctness, and clarity across the new markdown files. Identified areas for improvement include conflicting sidebar weights, incorrect code block formatting, typos in YAML examples, and inconsistent styling. Addressing these points will enhance the quality and readability of the documentation.

Comment on lines +252 to +255
+ - --gang-scheduler-name=volcano
image: kubeflow/training-operator
name: training-operator
...

Choose a reason for hiding this comment

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

high

This code block contains leftover diff syntax (diff... and +) which can be confusing for readers. Please show the final configuration instead of a diff.

Suggested change
+ - --gang-scheduler-name=volcano
image: kubeflow/training-operator
name: training-operator
...
- --gang-scheduler-name=volcano
image: kubeflow/training-operator
name: training-operator

resources:
requests:
cpu: "100m"
restartPolicy: OnFailurer

Choose a reason for hiding this comment

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

high

There is a typo in the restartPolicy value. It should be OnFailure, not OnFailurer.

Suggested change
restartPolicy: OnFailurer
restartPolicy: OnFailure

Comment on lines +265 to +269
+ - --gang-scheduling=volcano
- -alsologtostderr
- --lock-namespace=mpi-operator
image: mpioperator/mpi-operator:0.4.0
name: mpi-operator

Choose a reason for hiding this comment

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

high

This code block contains leftover diff syntax (diff... and +) which can be confusing for readers. Please show the final configuration instead of a diff.

Suggested change
+ - --gang-scheduling=volcano
- -alsologtostderr
- --lock-namespace=mpi-operator
image: mpioperator/mpi-operator:0.4.0
name: mpi-operator
- --gang-scheduling=volcano
- -alsologtostderr
- --lock-namespace=mpi-operator
image: mpioperator/mpi-operator:0.4.0
name: mpi-operator

Here is an example YAML for creating a Volcano Job using Argo Workflow:
```yaml
yamlapiVersion: argoproj.io/v1alpha1

Choose a reason for hiding this comment

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

medium

The yaml prefix in this line is incorrect and will be rendered as part of the code. Please remove it.

Suggested change
yamlapiVersion: argoproj.io/v1alpha1
apiVersion: argoproj.io/v1alpha1

@@ -0,0 +1,90 @@
# Ray on Volcano

Choose a reason for hiding this comment

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

medium

The title "Ray on Volcano" is already defined in the frontmatter of this document. Including it as a top-level heading in the body is redundant and inconsistent with other documentation pages. Please remove this line.

1. Download the RayCluster example configuration that supports Volcano scheduling:

```bash
bashcurl -LO https://raw.githubusercontent.com/ray-project/kuberay/v1.4.2/ray-operator/config/samples/ray-cluster.volcano-scheduler.yaml

Choose a reason for hiding this comment

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

medium

The bash prefix in this line is incorrect and will be rendered as part of the code. Please remove it.

Suggested change
bashcurl -LO https://raw.githubusercontent.com/ray-project/kuberay/v1.4.2/ray-operator/config/samples/ray-cluster.volcano-scheduler.yaml
curl -LO https://raw.githubusercontent.com/ray-project/kuberay/v1.4.2/ray-operator/config/samples/ray-cluster.volcano-scheduler.yaml

2. Apply the configuration to create the RayCluster:

```bash
bashkubectl apply -f ray-cluster.volcano-scheduler.yaml

Choose a reason for hiding this comment

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

medium

The bash prefix in this line is incorrect and will be rendered as part of the code. Please remove it.

Suggested change
bashkubectl apply -f ray-cluster.volcano-scheduler.yaml
kubectl apply -f ray-cluster.volcano-scheduler.yaml

3. Verify the cluster status:

```bash
bashkubectl get pod -l ray.io/cluster=test-cluster-0

Choose a reason for hiding this comment

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

medium

The bash prefix in this line is incorrect and will be rendered as part of the code. Please remove it.

Suggested change
bashkubectl get pod -l ray.io/cluster=test-cluster-0
kubectl get pod -l ray.io/cluster=test-cluster-0


Combining MXNet with Volcano allows you to fully leverage Kubernetes' container orchestration capabilities and Volcano's batch scheduling functionality to achieve efficient distributed training.

Click [here](https://github.com/apache/mxnet/blob/master/example/distributed_training-horovod/gluon_mnist.py) to view the example provided by the MXNet team. This directory contains the following files:

Choose a reason for hiding this comment

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

medium

The link text "here" is not very descriptive. For better accessibility and clarity, it's best to use text that describes the link's destination.

Suggested change
Click [here](https://github.com/apache/mxnet/blob/master/example/distributed_training-horovod/gluon_mnist.py) to view the example provided by the MXNet team. This directory contains the following files:
Click [here to view the example](https://github.com/apache/mxnet/blob/master/example/distributed_training-horovod/gluon_mnist.py) provided by the MXNet team. This directory contains the following files:


接下来即可使用 Volcano 和 KubeRay 协同工作。如果要查看详细信息,请查看[链接](https://docs.ray.io/en/master/cluster/kubernetes/k8s-ecosystem/volcano.html)了解更多。

####

Choose a reason for hiding this comment

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

medium

This line contains trailing markdown characters (#### ) with no content. It should be removed.

Comment on lines +11 to +13
[menu.docs]
parent = "zoology"
weight = 6
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
[menu.docs]
parent = "zoology"
weight = 6
[menu.docs]
parent = "ecosystem"
weight = 6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Categorizes issue or PR as related to a bug. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. kind/design Categorizes issue or PR as related to design. kind/documentation Categorizes issue or PR as related to documentation. kind/feature Categorizes issue or PR as related to a new feature. retest-not-required-docs-only size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants