Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for leastResourceScorer (0.13 sec)

  1. pkg/scheduler/framework/plugins/noderesources/least_allocated.go

    limitations under the License.
    */
    
    package noderesources
    
    import (
    	"k8s.io/kubernetes/pkg/scheduler/apis/config"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    )
    
    // leastResourceScorer favors nodes with fewer requested resources.
    // It calculates the percentage of memory, CPU and other resources requested by pods scheduled on the node, and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 12 01:50:09 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/fit.go

    		resources := args.ScoringStrategy.Resources
    		return &resourceAllocationScorer{
    			Name:      string(config.LeastAllocated),
    			scorer:    leastResourceScorer(resources),
    			resources: resources,
    		}
    	},
    	config.MostAllocated: func(args *config.NodeResourcesFitArgs) *resourceAllocationScorer {
    		resources := args.ScoringStrategy.Resources
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top