Highlight nodeSelector when checking nodeSelector for Pod.

This commit is contained in:
Guangya Liu
2017-05-30 20:30:40 +08:00
parent 0f95f13dcc
commit 9ae3107aab
3 changed files with 7 additions and 7 deletions

View File

@@ -86,7 +86,7 @@ func init() {
// predicates.GeneralPredicates()
factory.RegisterFitPredicate("HostName", predicates.PodFitsHost)
// Fit is determined by node selector query.
factory.RegisterFitPredicate("MatchNodeSelector", predicates.PodSelectorMatches)
factory.RegisterFitPredicate("MatchNodeSelector", predicates.PodMatchNodeSelector)
// Use equivalence class to speed up predicates & priorities
factory.RegisterGetEquivalencePodFunction(GetEquivalencePod)