Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Handled minAvailable task everytime. #615

Merged
merged 1 commit into from
Mar 4, 2019
Merged

Handled minAvailable task everytime. #615

merged 1 commit into from
Mar 4, 2019

Conversation

k82cn
Copy link
Contributor

@k82cn k82cn commented Mar 3, 2019

Signed-off-by: Da K. Ma klaus1982.cn@gmail.com

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #598

Release note:

None

Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 3, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: k82cn

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

The pull request process is described 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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 3, 2019
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Mar 3, 2019
if assigned {
jobs.Push(job)
// Handle one assigned task in each loop.
if !assigned {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Jeffwan , I reverted your PR. Because for training job, it need all pods to be started together; and for spark job, it requires master (driver) pod to be started firstly. If another case I missed, please let me know.

Copy link
Contributor

Choose a reason for hiding this comment

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

@k82cn. Thanks! I will double check my cases.

@k82cn k82cn added the lgtm Indicates that a PR is ready to be merged. label Mar 4, 2019
@k8s-ci-robot k8s-ci-robot merged commit 1c750a0 into kubernetes-retired:master Mar 4, 2019
@k82cn k82cn deleted the kb_598_1 branch March 4, 2019 04:44
k8s-ci-robot added a commit that referenced this pull request Mar 4, 2019
…ream-release-0.4

Automated cherry pick of #615: Handled minAvailable task everytime.
kevin-wangzefeng pushed a commit to kevin-wangzefeng/scheduler that referenced this pull request Jun 28, 2019
Handled minAvailable task everytime.
kevin-wangzefeng pushed a commit to kevin-wangzefeng/scheduler that referenced this pull request Jun 28, 2019
Handled minAvailable task everytime.
kevin-wangzefeng pushed a commit to kevin-wangzefeng/scheduler that referenced this pull request Jun 28, 2019
Handled minAvailable task everytime.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor allocate action to do allocation in job level
3 participants