Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for NormalizeScore (0.14 sec)

  1. pkg/scheduler/framework/plugins/nodeaffinity/node_affinity_test.go

    					t.Errorf("unexpected error: %v", status)
    				}
    				gotList = append(gotList, framework.NodeScore{Name: nodeName, Score: score})
    			}
    
    			status = p.(framework.ScorePlugin).ScoreExtensions().NormalizeScore(ctx, state, test.pod, gotList)
    			if !status.IsSuccess() {
    				t.Errorf("unexpected error: %v", status)
    			}
    
    			if diff := cmp.Diff(test.expectedList, gotList); diff != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 12:00:10 UTC 2023
    - 38.7K bytes
    - Viewed (0)
  2. pkg/scheduler/schedule_one_test.go

    	}
    	return int64(score), nil
    }
    
    func (pl *reverseNumericMapPlugin) ScoreExtensions() framework.ScoreExtensions {
    	return pl
    }
    
    func (pl *reverseNumericMapPlugin) NormalizeScore(_ context.Context, _ *framework.CycleState, _ *v1.Pod, nodeScores framework.NodeScoreList) *framework.Status {
    	var maxScore float64
    	minScore := math.MaxFloat64
    
    	for _, hostPriority := range nodeScores {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.16.md

      - the NormalizeScore plugin set is removed from scheduler framework config API. Use ScorePlugin only. ([#80930](https://github.com/kubernetes/kubernetes/pull/80930), [@liu-cong](https://github.com/liu-cong))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 11 10:00:57 UTC 2021
    - 345.2K bytes
    - Viewed (0)
Back to top