Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for feasibleNodes (0.11 sec)

  1. pkg/scheduler/schedule_one.go

    		}
    	}
    
    	// When only one node after predicate, just use it.
    	if len(feasibleNodes) == 1 {
    		return ScheduleResult{
    			SuggestedHost:  feasibleNodes[0].Node().Name,
    			EvaluatedNodes: 1 + len(diagnosis.NodeToStatusMap),
    			FeasibleNodes:  1,
    		}, nil
    	}
    
    	priorityList, err := prioritizeNodes(ctx, sched.Extenders, fwk, state, pod, feasibleNodes)
    	if err != nil {
    		return result, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  2. pkg/scheduler/extender_test.go

    					Predicates:   []tf.FitPredicate{tf.Node1PredicateExtender},
    				},
    			},
    			nodes: []string{"node1", "node2"},
    			expectedResult: ScheduleResult{
    				SuggestedHost:  "node1",
    				EvaluatedNodes: 2,
    				FeasibleNodes:  1,
    			},
    			name: "test 3",
    		},
    		{
    			registerPlugins: []tf.RegisterPluginFunc{
    				tf.RegisterFilterPlugin("TrueFilter", tf.NewTrueFilterPlugin),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. pkg/scheduler/schedule_one_test.go

    	}{
    		{
    			name:       "error reserve pod",
    			sendPod:    podWithID("foo", ""),
    			mockResult: mockScheduleResult{ScheduleResult{SuggestedHost: testNode.Name, EvaluatedNodes: 1, FeasibleNodes: 1}, nil},
    			registerPluginFuncs: []tf.RegisterPluginFunc{
    				tf.RegisterReservePlugin("FakeReserve", tf.NewFakeReservePlugin(framework.NewStatus(framework.Error, "reserve error"))),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  4. pkg/scheduler/scheduler.go

    	SuggestedHost string
    	// The number of nodes the scheduler evaluated the pod against in the filtering
    	// phase and beyond.
    	EvaluatedNodes int
    	// The number of nodes out of the evaluated ones that fit the pod.
    	FeasibleNodes int
    	// The nominating info for scheduling cycle.
    	nominatingInfo *framework.NominatingInfo
    }
    
    // WithComponentConfigVersion sets the component config version to the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top