- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ignoredResourceGroups (0.32 sec)
-
pkg/scheduler/apis/config/validation/validation_pluginargs_test.go
}, }, { name: "IgnoredResourceGroups: valid args ", args: config.NodeResourcesFitArgs{ IgnoredResourceGroups: []string{"example.com"}, ScoringStrategy: defaultScoringStrategy, }, }, { name: "IgnoredResourceGroups: illegal args", args: config.NodeResourcesFitArgs{ IgnoredResourceGroups: []string{"example.com/"},
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/framework/plugins/noderesources/fit.go
if !exists { return nil, fmt.Errorf("scoring strategy %s is not supported", strategy) } return &Fit{ ignoredResources: sets.New(args.IgnoredResources...), ignoredResourceGroups: sets.New(args.IgnoredResourceGroups...), enableInPlacePodVerticalScaling: fts.EnableInPlacePodVerticalScaling, enableSidecarContainers: fts.EnableSidecarContainers, handle: h,
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
// should ignore. IgnoredResources []string // IgnoredResourceGroups defines the list of resource groups that NodeResources fit filter should ignore. // e.g. if group is ["example.com"], it will ignore all resource names that begin // with "example.com", such as "example.com/aaa" and "example.com/bbb". // A resource group name can't contain '/'. IgnoredResourceGroups []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) -
pkg/scheduler/apis/config/validation/validation_pluginargs.go
path := resPath.Index(i) if errs := metav1validation.ValidateLabelName(res, path); len(errs) != 0 { allErrs = append(allErrs, errs...) } } groupPath := path.Child("ignoredResourceGroups") for i, group := range args.IgnoredResourceGroups { path := groupPath.Index(i) if strings.Contains(group, "/") { allErrs = append(allErrs, field.Invalid(path, group, "resource group name can't contain '/'")) }
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/zz_generated.deepcopy.go
if in.IgnoredResources != nil { in, out := &in.IgnoredResources, &out.IgnoredResources *out = make([]string, len(*in)) copy(*out, *in) } if in.IgnoredResourceGroups != nil { in, out := &in.IgnoredResourceGroups, &out.IgnoredResourceGroups *out = make([]string, len(*in)) copy(*out, *in) } if in.ScoringStrategy != nil { in, out := &in.ScoringStrategy, &out.ScoringStrategy
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/v1/zz_generated.conversion.go
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/framework/plugins/noderesources/fit_test.go
extendedResourceB: 1, kubernetesIOResourceA: 1, }}), nodeInfo: framework.NewNodeInfo(newResourcePod(framework.Resource{MilliCPU: 0, Memory: 0})), args: config.NodeResourcesFitArgs{ IgnoredResourceGroups: []string{"example.com"}, }, name: "skip checking ignored extended resource via resource groups",
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/generated/openapi/zz_generated.openapi.go
}, }, }, }, }, "ignoredResourceGroups": { VendorExtensible: spec.VendorExtensible{ Extensions: spec.Extensions{ "x-kubernetes-list-type": "atomic", }, }, SchemaProps: spec.SchemaProps{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 3M bytes - Viewed (0)