Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mostResourceScorer (0.17 sec)

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

    limitations under the License.
    */
    
    package noderesources
    
    import (
    	"k8s.io/kubernetes/pkg/scheduler/apis/config"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    )
    
    // mostResourceScorer favors nodes with most requested resources.
    // It calculates the percentage of memory and CPU requested by pods scheduled on the node, and prioritizes
    // based on the maximum of the average of the fraction of requested to capacity.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 21 15:23:47 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/fit.go

    		resources := args.ScoringStrategy.Resources
    		return &resourceAllocationScorer{
    			Name:      string(config.MostAllocated),
    			scorer:    mostResourceScorer(resources),
    			resources: resources,
    		}
    	},
    	config.RequestedToCapacityRatio: 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