- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for numAllNodes (0.12 sec)
-
pkg/scheduler/framework/types_test.go
} } func TestFitError_Error(t *testing.T) { tests := []struct { name string pod *v1.Pod numAllNodes int diagnosis Diagnosis wantReasonMsg string }{ { name: "nodes failed Prefilter plugin", numAllNodes: 3, diagnosis: Diagnosis{ PreFilterMsg: "Node(s) failed PreFilter plugin FalsePreFilter", NodeToStatusMap: NodeToStatusMap{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 45.9K bytes - Viewed (0) -
pkg/scheduler/schedule_one.go
// its search for more feasible nodes. func (sched *Scheduler) numFeasibleNodesToFind(percentageOfNodesToScore *int32, numAllNodes int32) (numNodes int32) { if numAllNodes < minFeasibleNodesToFind { return numAllNodes } // Use profile percentageOfNodesToScore if it's set. Otherwise, use global percentageOfNodesToScore. var percentage int32 if percentageOfNodesToScore != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 13:28:08 UTC 2024 - 43.4K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
t.Errorf("Scheduler.numFeasibleNodesToFind() = %v, want %v", gotNumNodes, tt.wantNumNodes) } }) } } func TestFairEvaluationForNodes(t *testing.T) { numAllNodes := 500 nodeNames := make([]string, 0, numAllNodes) for i := 0; i < numAllNodes; i++ { nodeNames = append(nodeNames, strconv.Itoa(i))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
pkg/scheduler/framework/types.go
// PostFilterMsg records the messages returned from PostFilter plugins. PostFilterMsg string } // FitError describes a fit error of a pod. type FitError struct { Pod *v1.Pod NumAllNodes int Diagnosis Diagnosis } const ( // NoNodeAvailableMsg is used to format message when no nodes available. NoNodeAvailableMsg = "0/%v nodes are available" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 19:28:17 UTC 2024 - 36.7K bytes - Viewed (0) -
pkg/scheduler/framework/preemption/preemption.go
return nil, framework.AsStatus(err) } // Return a FitError only when there are no candidates that fit the pod. if len(candidates) == 0 { fitError := &framework.FitError{ Pod: pod, NumAllNodes: len(nodeToStatusMap), Diagnosis: framework.Diagnosis{ NodeToStatusMap: nodeToStatusMap, // Leave UnschedulablePlugins or PendingPlugins as nil as it won't be used on moving Pods. }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 25.1K bytes - Viewed (0)