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

move scheduler name out of common args #187

Merged
merged 3 commits into from May 20, 2019

Conversation

lminzhw
Copy link
Contributor

@lminzhw lminzhw commented May 19, 2019

--scheduler is common argument now, so it can be parsed in any command ignoring that most of them do not use it at all.

So, this PR move this argument out of common argument and add it on demand for command which use it before.

And, add support for vkctl job list to list job with specified scheduler name.

@TommyLike
Copy link
Contributor

Do we have the case that a volcano job is not scheduled by kube-batch?

@lminzhw
Copy link
Contributor Author

lminzhw commented May 20, 2019

Do we have the case that a volcano job is not scheduled by kube-batch?

Following our best practice, all the job should use kube-batch.

But we have field job.spec.schedulerName to change the default behavior, so I think this logic should be supported all around.

@TommyLike
Copy link
Contributor

Do we have the case that a volcano job is not scheduled by kube-batch?

Following our best practice, all the job should use kube-batch.

But we have field job.spec.schedulerName to change the default behavior, so I think this logic should be supported all around.

Thanks
/lgtm
/approve

@volcano-sh-bot volcano-sh-bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. labels May 20, 2019
@k82cn
Copy link
Member

k82cn commented May 20, 2019

/lgtm
/approve

@volcano-sh-bot volcano-sh-bot merged commit 4839f14 into volcano-sh:master May 20, 2019
kevin-wangzefeng pushed a commit to kevin-wangzefeng/volcano that referenced this pull request Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants