- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for LeastAllocated (0.28 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/apis/config/v1/defaults_test.go
TypeMeta: metav1.TypeMeta{ Kind: "NodeResourcesFitArgs", APIVersion: "kubescheduler.config.k8s.io/v1", }, ScoringStrategy: &configv1.ScoringStrategy{ Type: configv1.LeastAllocated, Resources: []configv1.ResourceSpec{{Name: "cpu", Weight: 1}, {Name: "memory", Weight: 1}}, }, }}, }, { Name: "PodTopologySpread", Args: runtime.RawExtension{Object: &configv1.PodTopologySpreadArgs{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 06 15:03:04 UTC 2024 - 27.9K bytes - Viewed (0) -
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) -
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/scheduler/apis/config/validation/validation_pluginargs_test.go
t.Errorf("ValidateVolumeBindingArgs returned err (-want,+got):\n%s", diff) } }) } } func TestValidateFitArgs(t *testing.T) { defaultScoringStrategy := &config.ScoringStrategy{ Type: config.LeastAllocated, Resources: []config.ResourceSpec{ {Name: "cpu", Weight: 1}, {Name: "memory", Weight: 1}, }, } argsTest := []struct { name string args config.NodeResourcesFitArgs
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.3K 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)