Skip to content
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

fix: Fix the repo #1005

Merged
merged 2 commits into from
Aug 1, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/docs/other-guides/job-scheduling.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ description = "How to schedule a job with gang-scheduling"
weight = 30
+++

This guide describes how to use [volcano scheduler](https://github.com/volcano-sh/scheduler) to support gang-scheduling in
This guide describes how to use [volcano scheduler](https://github.com/volcano-sh/volcano) to support gang-scheduling in
Kubeflow, to allow jobs to run multiple pods at the same time.

## Running jobs with gang-scheduling
To use gang-scheduling, you have to install volcano scheduler in your cluster first as a secondary scheduler of Kubernetes and configure operator to enable gang-scheduling.

* Volcano's scheduler repo is [here](https://github.com/volcano-sh/scheduler) and check how to install it [here](https://github.com/volcano-sh/volcano).
* Volcano's repo is [here](https://github.com/volcano-sh/volcano) and check how to install it [here](https://github.com/volcano-sh/volcano).
gaocegege marked this conversation as resolved.
Show resolved Hide resolved
* Take tf-operator for example, enable gang-scheduling in tf-operator by setting true to `--enable-gang-scheduling` flag.

**Note:** Volcano scheduler and operator in Kubeflow achieve gang-scheduling by using pdb. operator will create the pdb of the job automatically. You can know more about pdb [here](https://kubernetes.io/docs/tasks/run-application/configure-pdb/).
**Note:** Volcano scheduler and operator in Kubeflow achieve gang-scheduling by using [PodGroup](https://github.com/volcano-sh/volcano/blob/master/pkg/apis/scheduling/v1alpha2/types.go). operator will create the PodGroup of the job automatically.

The yaml to use volcano scheduler to schedule your job as a gang is the same as non-gang-scheduler, for example.

Expand Down