- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for LeastAllocated (0.17 sec)
-
pkg/scheduler/framework/plugins/noderesources/fit_test.go
}, }, }, { name: "LeastAllocated with defaultResources", nodeResourcesFitArgs: config.NodeResourcesFitArgs{ ScoringStrategy: &config.ScoringStrategy{ Type: config.LeastAllocated, Resources: defaultResources, }, }, }, { name: "LeastAllocated with 10 resources", nodeResourcesFitArgs: config.NodeResourcesFitArgs{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 57.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/fit.go
var nodeResourceStrategyTypeMap = map[config.ScoringStrategyType]scorer{ config.LeastAllocated: func(args *config.NodeResourcesFitArgs) *resourceAllocationScorer { resources := args.ScoringStrategy.Resources return &resourceAllocationScorer{ Name: string(config.LeastAllocated), scorer: leastResourceScorer(resources), resources: 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) -
pkg/generated/openapi/zz_generated.openapi.go
}, }, }, "scoringStrategy": { SchemaProps: spec.SchemaProps{ Description: "ScoringStrategy selects the node resource scoring strategy. The default strategy is LeastAllocated with an equal \"cpu\" and \"memory\" weight.", Ref: ref("k8s.io/kube-scheduler/config/v1.ScoringStrategy"), }, }, }, }, }, Dependencies: []string{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 3M bytes - Viewed (0)