- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 39 for scopeSelectors (0.18 sec)
-
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/resources.go
func CalculateUsage(namespaceName string, scopes []corev1.ResourceQuotaScope, hardLimits corev1.ResourceList, registry Registry, scopeSelector *corev1.ScopeSelector) (corev1.ResourceList, error) { // find the intersection between the hard resources on the quota // and the resources this controller can track to know what we can // look to measure updated usage stats for
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 06 23:11:22 UTC 2021 - 8.7K 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) -
plugin/pkg/admission/resourcequota/admission_test.go
quota: &corev1.ResourceQuota{ ObjectMeta: metav1.ObjectMeta{Name: "quota", Namespace: "test", ResourceVersion: "124"}, Spec: corev1.ResourceQuotaSpec{ ScopeSelector: &corev1.ScopeSelector{ MatchExpressions: []corev1.ScopedResourceSelectorRequirement{ { ScopeName: corev1.ResourceQuotaScopePriorityClass, Operator: corev1.ScopeSelectorOpExists}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 84.1K bytes - Viewed (0) -
cluster/gce/addons/admission-resource-quota-critical-pods/resource-quota.yaml
apiVersion: v1 kind: ResourceQuota metadata: name: gcp-critical-pods namespace: kube-system labels: addonmanager.kubernetes.io/mode: Reconcile spec: hard: pods: "1000000000" scopeSelector: matchExpressions: - operator : In scopeName: PriorityClass
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 17 13:52:19 UTC 2020 - 644 bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.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: Fri Dec 15 04:12:07 UTC 2023 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/quota/v1/interfaces.go
Namespace string // Scopes that must match counted objects Scopes []corev1.ResourceQuotaScope // Resources are the set of resources to include in the measurement Resources []corev1.ResourceName ScopeSelector *corev1.ScopeSelector } // UsageStats is result of measuring observed resource use in the system type UsageStats struct { // Used maps resource to quantity used Used corev1.ResourceList }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 30 21:02:09 UTC 2021 - 3.8K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/pods_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.6K bytes - Viewed (0) -
pkg/apis/core/v1/zz_generated.conversion.go
} if err := s.AddGeneratedConversionFunc((*v1.ScopeSelector)(nil), (*core.ScopeSelector)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1_ScopeSelector_To_core_ScopeSelector(a.(*v1.ScopeSelector), b.(*core.ScopeSelector), scope) }); err != nil { return err } if err := s.AddGeneratedConversionFunc((*core.ScopeSelector)(nil), (*v1.ScopeSelector)(nil), func(a, b interface{}, scope conversion.Scope) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 472.1K bytes - Viewed (0) -
pkg/apis/core/zz_generated.deepcopy.go
} } if in.Scopes != nil { in, out := &in.Scopes, &out.Scopes *out = make([]ResourceQuotaScope, len(*in)) copy(*out, *in) } if in.ScopeSelector != nil { in, out := &in.ScopeSelector, &out.ScopeSelector *out = new(ScopeSelector) (*in).DeepCopyInto(*out) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaSpec.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.5K bytes - Viewed (0)