Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for LeastAllocated (0.15 sec)

  1. pkg/scheduler/apis/config/types_pluginargs.go

    }
    
    // ScoringStrategyType the type of scoring strategy used in NodeResourcesFit plugin.
    type ScoringStrategyType string
    
    const (
    	// LeastAllocated strategy prioritizes nodes with least allocated resources.
    	LeastAllocated ScoringStrategyType = "LeastAllocated"
    	// MostAllocated strategy prioritizes nodes with most allocated resources.
    	MostAllocated ScoringStrategyType = "MostAllocated"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 13 23:15:53 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. pkg/scheduler/apis/config/testing/defaults/defaults.go

    		},
    	},
    	{
    		Name: "NodeResourcesFit",
    		Args: &config.NodeResourcesFitArgs{
    			ScoringStrategy: &config.ScoringStrategy{
    				Type:      config.LeastAllocated,
    				Resources: []config.ResourceSpec{{Name: "cpu", Weight: 1}, {Name: "memory", Weight: 1}},
    			},
    		},
    	},
    	{
    		Name: "PodTopologySpread",
    		Args: &config.PodTopologySpreadArgs{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. pkg/scheduler/apis/config/v1/defaults.go

    }
    
    func SetDefaults_NodeResourcesFitArgs(obj *configv1.NodeResourcesFitArgs) {
    	if obj.ScoringStrategy == nil {
    		obj.ScoringStrategy = &configv1.ScoringStrategy{
    			Type:      configv1.ScoringStrategyType(config.LeastAllocated),
    			Resources: defaultResourceSpec,
    		}
    	}
    	if len(obj.ScoringStrategy.Resources) == 0 {
    		// If no resources specified, use the default set.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 7.2K bytes
    - Viewed (0)
Back to top