- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for NodeResourcesFitArgs (0.33 sec)
-
pkg/scheduler/framework/plugins/noderesources/fit_test.go
} func BenchmarkTestFitScore(b *testing.B) { tests := []struct { name string nodeResourcesFitArgs config.NodeResourcesFitArgs }{ { name: "RequestedToCapacityRatio with defaultResources", nodeResourcesFitArgs: config.NodeResourcesFitArgs{ ScoringStrategy: &config.ScoringStrategy{ Type: config.RequestedToCapacityRatio, Resources: defaultResources,
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/zz_generated.defaults.go
SetObjectDefaults_NodeResourcesBalancedAllocationArgs(obj.(*v1.NodeResourcesBalancedAllocationArgs)) }) scheme.AddTypeDefaultingFunc(&v1.NodeResourcesFitArgs{}, func(obj interface{}) { SetObjectDefaults_NodeResourcesFitArgs(obj.(*v1.NodeResourcesFitArgs)) }) scheme.AddTypeDefaultingFunc(&v1.PodTopologySpreadArgs{}, func(obj interface{}) { SetObjectDefaults_PodTopologySpreadArgs(obj.(*v1.PodTopologySpreadArgs)) })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 29 00:47:48 UTC 2022 - 3K bytes - Viewed (0) -
pkg/scheduler/apis/config/validation/validation_pluginargs_test.go
{Name: "cpu", Weight: 1}, {Name: "memory", Weight: 1}, }, } argsTest := []struct { name string args config.NodeResourcesFitArgs expect string }{ { name: "IgnoredResources: too long value", args: config.NodeResourcesFitArgs{ IgnoredResources: []string{fmt.Sprintf("longvalue%s", strings.Repeat("a", 64))}, ScoringStrategy: defaultScoringStrategy, },
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/scheduler/apis/config/scheme/scheme_test.go
}, { Name: "InterPodAffinity", Args: &config.InterPodAffinityArgs{HardPodAffinityWeight: 5}, }, { Name: "NodeResourcesFit", Args: &config.NodeResourcesFitArgs{ IgnoredResources: []string{"foo"}, ScoringStrategy: &config.ScoringStrategy{ Type: config.LeastAllocated, Resources: []config.ResourceSpec{ {Name: "cpu", Weight: 1},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 22.2K bytes - Viewed (0) -
pkg/scheduler/apis/config/v1/defaults_test.go
}, }, { name: "NodeResourcesFitArgs not set", in: &configv1.NodeResourcesFitArgs{}, want: &configv1.NodeResourcesFitArgs{ ScoringStrategy: &configv1.ScoringStrategy{ Type: configv1.LeastAllocated, Resources: defaultResourceSpec, }, }, }, { name: "NodeResourcesFitArgs Resources empty", in: &configv1.NodeResourcesFitArgs{
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/v1/zz_generated.conversion.go
} if err := s.AddGeneratedConversionFunc((*v1.NodeResourcesFitArgs)(nil), (*config.NodeResourcesFitArgs)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1_NodeResourcesFitArgs_To_config_NodeResourcesFitArgs(a.(*v1.NodeResourcesFitArgs), b.(*config.NodeResourcesFitArgs), scope) }); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 18:47:23 UTC 2024 - 46.9K bytes - Viewed (0) -
pkg/scheduler/apis/config/zz_generated.deepcopy.go
func (in *NodeResourcesFitArgs) DeepCopy() *NodeResourcesFitArgs { if in == nil { return nil } out := new(NodeResourcesFitArgs) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *NodeResourcesFitArgs) DeepCopyObject() runtime.Object {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 22:02:57 UTC 2022 - 16.2K bytes - Viewed (0) -
pkg/scheduler/apis/config/register.go
func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &KubeSchedulerConfiguration{}, &DefaultPreemptionArgs{}, &InterPodAffinityArgs{}, &NodeResourcesFitArgs{}, &PodTopologySpreadArgs{}, &VolumeBindingArgs{}, &NodeResourcesBalancedAllocationArgs{}, &NodeAffinityArgs{}, ) return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 02 16:52:23 UTC 2021 - 1.6K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/fit.go
config.LeastAllocated: func(args *config.NodeResourcesFitArgs) *resourceAllocationScorer { resources := args.ScoringStrategy.Resources return &resourceAllocationScorer{ Name: string(config.LeastAllocated), scorer: leastResourceScorer(resources), resources: resources, } }, config.MostAllocated: func(args *config.NodeResourcesFitArgs) *resourceAllocationScorer {
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/types_pluginargs.go
IgnorePreferredTermsOfExistingPods bool } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object // NodeResourcesFitArgs holds arguments used to configure the NodeResourcesFit plugin. type NodeResourcesFitArgs struct { metav1.TypeMeta // IgnoredResources is the list of resources that NodeResources fit filter // should ignore. IgnoredResources []string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 13 23:15:53 UTC 2023 - 8.4K bytes - Viewed (0)