- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for OrderedScoreFuncs (0.15 sec)
-
pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go
return false, "not eligible due to a terminating pod on the nominated node." } } } } return true, "" } // OrderedScoreFuncs returns a list of ordered score functions to select preferable node where victims will be preempted. func (pl *DefaultPreemption) OrderedScoreFuncs(ctx context.Context, nodesToVictims map[string]*extenderv1.Victims) []func(node string) int64 { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Nov 25 19:36:04 UTC 2023 - 12.7K bytes - Viewed (0) -
pkg/scheduler/framework/preemption/preemption_test.go
return nil } func (pl *FakePostFilterPlugin) PodEligibleToPreemptOthers(pod *v1.Pod, nominatedNodeStatus *framework.Status) (bool, string) { return true, "" } func (pl *FakePostFilterPlugin) OrderedScoreFuncs(ctx context.Context, nodesToVictims map[string]*extenderv1.Victims) []func(node string) int64 { return nil } type FakePreemptionScorePostFilterPlugin struct{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 18.7K bytes - Viewed (0) -
pkg/scheduler/framework/preemption/preemption.go
// OrderedScoreFuncs returns a list of ordered score functions to select preferable node where victims will be preempted. // The ordered score functions will be processed one by one iff we find more than one node with the highest score. // Default score functions will be processed if nil returned here for backwards-compatibility.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 25.1K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.29.md
- '`kubeadm`: added validation to verify that the `CertificateKey` is a valid hex encoded AES key.' ([#120064](https://github.com/kubernetes/kubernetes/pull/120064), [@SataQiu](https://github.com/SataQiu)) - A customizable `OrderedScoreFuncs()` function was introduced. Out-of-tree plugins that used the scheduler's preemption interface could implement this function
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 03:42:38 UTC 2024 - 324.5K bytes - Viewed (0)