提交 1186731e 编写于 作者: zlcnju's avatar zlcnju 提交者: Kubernetes Prow Robot

Update job-scheduling.md (#874)

Now, the kube-batch scheduler is set auto。[957](https://github.com/kubeflow/tf-operator/pull/957)
上级 23e87657
......@@ -15,7 +15,7 @@ To use gang-scheduling, you have to install volcano scheduler in your cluster fi
**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/).
To use volcano scheduler to schedule your job as a gang, you have to specify the schedulerName in each replica; for example.
The yaml to use volcano scheduler to schedule your job as a gang is the same as non-gang-scheduler, for example.
```yaml
apiVersion: "kubeflow.org/v1beta1"
......@@ -28,7 +28,6 @@ spec:
replicas: 1
template:
spec:
schedulerName: kube-batch
containers:
- args:
- python
......@@ -52,7 +51,6 @@ spec:
replicas: 1
template:
spec:
schedulerName: kube-batch
containers:
- args:
- python
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册