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

use kubernetes default schedule policies #864

Closed
davidstack opened this issue Jun 24, 2019 · 4 comments
Closed

use kubernetes default schedule policies #864

davidstack opened this issue Jun 24, 2019 · 4 comments

Comments

@davidstack
Copy link
Contributor

we know the default scheduler has several schedule policies, for example: CheckNodeConditionPredicate,PodFitsHost, PodToleratesNodeTaints and so on. can kube-batch use this schedule policies? thanks

@k82cn
Copy link
Contributor

k82cn commented Jun 24, 2019

Yes, we already import those predicate/priority in kube-batch: https://github.com/kubernetes-sigs/kube-batch/blob/master/pkg/scheduler/plugins/predicates/predicates.go ; if any other requirements, please let me know :)

@davidstack
Copy link
Contributor Author

@k82cn thks, i only find predicate policy, is there any method for adding priority schedule policy?

@k82cn
Copy link
Contributor

k82cn commented Jun 24, 2019

please find priorities here: https://github.com/kubernetes-sigs/kube-batch/blob/master/pkg/scheduler/plugins/nodeorder/nodeorder.go :) If any new requirements, please let me know :)

@davidstack
Copy link
Contributor Author

got it,thank you very much

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants