Don't evaluate extra nodes if there's no score plugin defined

This commit is contained in:
Aleksandra Malinowska
2023-11-27 09:50:57 +01:00
parent 0cabb55f7c
commit e19be41f58
5 changed files with 34 additions and 0 deletions

View File

@@ -50,6 +50,9 @@ type Extender interface {
// this pod is managed by this extender.
IsInterested(pod *v1.Pod) bool
// IsPrioritizer returns whether this extender is configured for the Prioritize method.
IsPrioritizer() bool
// ProcessPreemption returns nodes with their victim pods processed by extender based on
// given:
// 1. Pod to schedule