- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for scopeSelectors (0.44 sec)
-
pkg/quota/v1/evaluator/core/pods.go
func (p *podEvaluator) MatchingScopes(item runtime.Object, scopeSelectors []corev1.ScopedResourceSelectorRequirement) ([]corev1.ScopedResourceSelectorRequirement, error) { matchedScopes := []corev1.ScopedResourceSelectorRequirement{} for _, selector := range scopeSelectors { match, err := podMatchesScopeFunc(selector, item) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 05 00:02:47 UTC 2023 - 17.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go
restrictedScopes := []corev1.ScopedResourceSelectorRequirement{} for i := range quotas { resourceQuota := quotas[i] scopeSelectors := getScopeSelectorsFromQuota(resourceQuota) localRestrictedScopes, err := evaluator.MatchingScopes(inputObject, scopeSelectors) if err != nil { return nil, fmt.Errorf("error matching scopes of quota %s, err: %v", resourceQuota.Name, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 25.8K bytes - Viewed (0) -
pkg/controller/resourcequota/resource_quota_controller_test.go
Hard: v1.ResourceList{ v1.ResourceCPU: resource.MustParse("3"), v1.ResourceMemory: resource.MustParse("100Gi"), v1.ResourcePods: resource.MustParse("5"), }, ScopeSelector: &v1.ScopeSelector{ MatchExpressions: []v1.ScopedResourceSelectorRequirement{ { ScopeName: v1.ResourceQuotaScopePriorityClass, Operator: v1.ScopeSelectorOpExists}, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 16:29:33 UTC 2023 - 42.6K bytes - Viewed (0) -
manifests/charts/istio-cni/templates/resourcequota.yaml
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 388 bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/core.v1.ResourceQuota.yaml
controller: true kind: kindValue name: nameValue uid: uidValue resourceVersion: resourceVersionValue selfLink: selfLinkValue uid: uidValue spec: hard: hardKey: "0" scopeSelector: matchExpressions: - operator: operatorValue scopeName: scopeNameValue values: - valuesValue scopes: - scopesValue status: hard: hardKey: "0" used:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 06 21:25:20 UTC 2022 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/core.v1.ResourceQuota.yaml
controller: true kind: kindValue name: nameValue uid: uidValue resourceVersion: resourceVersionValue selfLink: selfLinkValue uid: uidValue spec: hard: hardKey: "0" scopeSelector: matchExpressions: - operator: operatorValue scopeName: scopeNameValue values: - valuesValue scopes: - scopesValue status: hard: hardKey: "0" used:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/core.v1.ResourceQuota.json
"fieldsV1": {}, "subresource": "subresourceValue" } ] }, "spec": { "hard": { "hardKey": "0" }, "scopes": [ "scopesValue" ], "scopeSelector": { "matchExpressions": [ { "scopeName": "scopeNameValue", "operator": "operatorValue", "values": [ "valuesValue" ] } ]
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/HEAD/core.v1.ResourceQuota.json
"fieldsV1": {}, "subresource": "subresourceValue" } ] }, "spec": { "hard": { "hardKey": "0" }, "scopes": [ "scopesValue" ], "scopeSelector": { "matchExpressions": [ { "scopeName": "scopeNameValue", "operator": "operatorValue", "values": [ "valuesValue" ] } ]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 06 21:25:20 UTC 2022 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/core.v1.ResourceQuota.yaml
controller: true kind: kindValue name: nameValue uid: uidValue resourceVersion: resourceVersionValue selfLink: selfLinkValue uid: uidValue spec: hard: hardKey: "0" scopeSelector: matchExpressions: - operator: operatorValue scopeName: scopeNameValue values: - valuesValue scopes: - scopesValue status: hard: hardKey: "0" used:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/quota/v1/generic/evaluator.go
selectors = append(selectors, corev1.ScopedResourceSelectorRequirement{ ScopeName: scope, Operator: corev1.ScopeSelectorOpExists}) } if quota.Spec.ScopeSelector != nil { selectors = append(selectors, quota.Spec.ScopeSelector.MatchExpressions...) } return selectors } // CalculateUsageStats is a utility function that knows how to calculate aggregate usage.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 05 00:02:47 UTC 2023 - 11.7K bytes - Viewed (0)