mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
move NoDiskConflict predicate to its filter plugin
This commit is contained in:
@@ -117,7 +117,12 @@ func init() {
|
||||
)
|
||||
|
||||
// Fit is determined by non-conflicting disk volumes.
|
||||
scheduler.RegisterFitPredicate(predicates.NoDiskConflictPred, predicates.NoDiskConflict)
|
||||
scheduler.RegisterFitPredicateFactory(
|
||||
predicates.NoDiskConflictPred,
|
||||
func(args scheduler.AlgorithmFactoryArgs) predicates.FitPredicate {
|
||||
return nil
|
||||
},
|
||||
)
|
||||
|
||||
// GeneralPredicates are the predicates that are enforced by all Kubernetes components
|
||||
// (e.g. kubelet and all schedulers)
|
||||
|
||||
Reference in New Issue
Block a user