Merge pull request #86852 from haosdent/clean-filter-deps-volumezone

Break volumezone Filter plugins dependency on predicates package
This commit is contained in:
Kubernetes Prow Robot
2020-01-07 14:08:55 -08:00
committed by GitHub
6 changed files with 14 additions and 14 deletions

View File

@@ -31,8 +31,6 @@ var (
// it can never be made to pass by removing pods, you need to add the predicate
// failure error in nodesWherePreemptionMightHelp() in scheduler/core/generic_scheduler.go
// ErrVolumeZoneConflict is used for NoVolumeZoneConflict predicate error.
ErrVolumeZoneConflict = NewPredicateFailureError("NoVolumeZoneConflict", "node(s) had no available volume zone")
// ErrNodeSelectorNotMatch is used for MatchNodeSelector predicate error.
ErrNodeSelectorNotMatch = NewPredicateFailureError("MatchNodeSelector", "node(s) didn't match node selector")
// ErrPodAffinityNotMatch is used for MatchInterPodAffinity predicate error.
@@ -87,7 +85,6 @@ var unresolvablePredicateFailureErrors = map[PredicateFailureReason]struct{}{
ErrNodeUnderMemoryPressure: {},
ErrNodeUnschedulable: {},
ErrNodeUnknownCondition: {},
ErrVolumeZoneConflict: {},
}
// UnresolvablePredicateExists checks if there is at least one unresolvable predicate failure reason.