- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for NodeAffinityArgs (0.17 sec)
-
pkg/scheduler/framework/plugins/nodeaffinity/node_affinity_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 12:00:10 UTC 2023 - 38.7K bytes - Viewed (0) -
pkg/scheduler/apis/config/v1/zz_generated.conversion.go
} if err := s.AddGeneratedConversionFunc((*v1.NodeAffinityArgs)(nil), (*config.NodeAffinityArgs)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1_NodeAffinityArgs_To_config_NodeAffinityArgs(a.(*v1.NodeAffinityArgs), b.(*config.NodeAffinityArgs), 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 *NodeAffinityArgs) DeepCopy() *NodeAffinityArgs { if in == nil { return nil } out := new(NodeAffinityArgs) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *NodeAffinityArgs) 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/framework/plugins/nodeaffinity/node_affinity.go
} } } return pl, nil } func getArgs(obj runtime.Object) (config.NodeAffinityArgs, error) { ptr, ok := obj.(*config.NodeAffinityArgs) if !ok { return config.NodeAffinityArgs{}, fmt.Errorf("args are not of type NodeAffinityArgs, got %T", obj) } return *ptr, validation.ValidateNodeAffinityArgs(nil, ptr) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 12:00:10 UTC 2023 - 12.6K bytes - Viewed (0) -
pkg/scheduler/apis/config/scheme/scheme_test.go
}, { Name: "VolumeBinding", Args: &config.VolumeBindingArgs{ BindTimeoutSeconds: 300, }, }, { Name: "NodeAffinity", Args: &config.NodeAffinityArgs{ AddedAffinity: &corev1.NodeAffinity{ RequiredDuringSchedulingIgnoredDuringExecution: &corev1.NodeSelector{ NodeSelectorTerms: []corev1.NodeSelectorTerm{ {
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
}, HardPodAffinityWeight: ptr.To[int32](1), }}, }, { Name: "NodeAffinity", Args: runtime.RawExtension{Object: &configv1.NodeAffinityArgs{ TypeMeta: metav1.TypeMeta{ Kind: "NodeAffinityArgs", APIVersion: "kubescheduler.config.k8s.io/v1", }, }}, }, { Name: "NodeResourcesBalancedAllocation",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 06 15:03:04 UTC 2024 - 27.9K bytes - Viewed (0) -
cmd/kube-scheduler/app/options/options_test.go
MinCandidateNodesPercentage: 10, MinCandidateNodesAbsolute: 100, }, }, { Name: "NodeAffinity", Args: &kubeschedulerconfig.NodeAffinityArgs{}, }, { Name: "NodeResourcesBalancedAllocation", Args: &kubeschedulerconfig.NodeResourcesBalancedAllocationArgs{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 30.3K bytes - Viewed (0) -
pkg/scheduler/apis/config/validation/validation_pluginargs.go
} } return allErrs.ToAggregate() } // ValidateNodeAffinityArgs validates that NodeAffinityArgs are correct. func ValidateNodeAffinityArgs(path *field.Path, args *config.NodeAffinityArgs) error { if args.AddedAffinity == nil { return nil } affinity := args.AddedAffinity var errs []error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 09:29:49 UTC 2023 - 12.9K bytes - Viewed (0) -
pkg/scheduler/apis/config/validation/validation_pluginargs_test.go
} }) } } func TestValidateNodeAffinityArgs(t *testing.T) { cases := []struct { name string args config.NodeAffinityArgs wantErr error }{ { name: "empty", }, { name: "valid added affinity", args: config.NodeAffinityArgs{ AddedAffinity: &v1.NodeAffinity{ RequiredDuringSchedulingIgnoredDuringExecution: &v1.NodeSelector{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.3K bytes - Viewed (0)