- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for maxLimitRequestRatio (0.29 sec)
-
staging/src/k8s.io/api/testdata/v1.30.0/core.v1.LimitRange.json
"min": { "minKey": "0" }, "default": { "defaultKey": "0" }, "defaultRequest": { "defaultRequestKey": "0" }, "maxLimitRequestRatio": { "maxLimitRequestRatioKey": "0" } } ] }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/core.v1.LimitRange.yaml
selfLink: selfLinkValue uid: uidValue spec: limits: - default: defaultKey: "0" defaultRequest: defaultRequestKey: "0" max: maxKey: "0" maxLimitRequestRatio: maxLimitRequestRatioKey: "0" min: minKey: "0"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.1K bytes - Viewed (0) -
pkg/apis/core/fuzzer/fuzzer.go
q.Max = make(core.ResourceList) q.Max[core.ResourceCPU] = cpuLimit.DeepCopy() q.Min = make(core.ResourceList) q.Min[core.ResourceCPU] = cpuLimit.DeepCopy() q.MaxLimitRequestRatio = make(core.ResourceList) q.MaxLimitRequestRatio[core.ResourceCPU] = resource.MustParse("10") }, func(p *core.PullPolicy, c fuzz.Continue) { policies := []core.PullPolicy{core.PullAlways, core.PullNever, core.PullIfNotPresent}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 04:32:01 UTC 2024 - 18.5K bytes - Viewed (0) -
plugin/pkg/admission/limitranger/admission_test.go
{ Type: limitType, Min: min, Max: max, Default: defaultLimit, DefaultRequest: defaultRequest, MaxLimitRequestRatio: maxLimitRequestRatio, }, }, }, } externalLimitRange := corev1.LimitRange{} v1.Convert_core_LimitRange_To_v1_LimitRange(&internalLimitRage, &externalLimitRange, nil) return externalLimitRange }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 51.5K bytes - Viewed (0) -
pkg/apis/core/validation/validation_test.go
"default request value 800m is greater than default limit value 500m", }, "invalid spec maxLimitRequestRatio less than 1": { core.LimitRange{ObjectMeta: metav1.ObjectMeta{Name: "abc", Namespace: "foo"}, Spec: core.LimitRangeSpec{ Limits: []core.LimitRangeItem{{ Type: core.LimitTypePod, MaxLimitRequestRatio: getResourceList("800m", ""), }}, }}, "ratio 800m is less than 1",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0) -
pkg/apis/core/zz_generated.deepcopy.go
*out = make(ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if in.MaxLimitRequestRatio != nil { in, out := &in.MaxLimitRequestRatio, &out.MaxLimitRequestRatio *out = make(ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.5K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go
*out = make(ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if in.MaxLimitRequestRatio != nil { in, out := &in.MaxLimitRequestRatio, &out.MaxLimitRequestRatio *out = make(ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.9K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
} } for k, q := range limit.MaxLimitRequestRatio { allErrs = append(allErrs, validateLimitRangeResourceName(limit.Type, k, idxPath.Child("maxLimitRequestRatio").Key(string(k)))...) keys.Insert(string(k)) maxLimitRequestRatios[string(k)] = q } for k := range keys {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0) -
pkg/apis/core/v1/zz_generated.conversion.go
out.Default = *(*core.ResourceList)(unsafe.Pointer(&in.Default)) out.DefaultRequest = *(*core.ResourceList)(unsafe.Pointer(&in.DefaultRequest)) out.MaxLimitRequestRatio = *(*core.ResourceList)(unsafe.Pointer(&in.MaxLimitRequestRatio)) return nil } // Convert_v1_LimitRangeItem_To_core_LimitRangeItem is an autogenerated conversion function.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 472.1K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/types.go
// MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. // +optional MaxLimitRequestRatio ResourceList `json:"maxLimitRequestRatio,omitempty" protobuf:"bytes,6,rep,name=maxLimitRequestRatio,casttype=ResourceList,castkey=ResourceName"` }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 390.8K bytes - Viewed (0)