- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 250 for vuotta (0.1 sec)
-
staging/src/k8s.io/apiserver/pkg/quota/v1/generic/evaluator.go
func (o *objectCountEvaluator) UsageStats(options quota.UsageStatsOptions) (quota.UsageStats, error) { return CalculateUsageStats(options, o.listFuncByNamespace, MatchesNoScopeFunc, o.Usage) } // Verify implementation of interface at compile time. var _ quota.Evaluator = &objectCountEvaluator{} // NewObjectCountEvaluator returns an evaluator that can perform generic
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 05 00:02:47 UTC 2023 - 11.7K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/pods.go
"k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/apiserver/pkg/admission" quota "k8s.io/apiserver/pkg/quota/v1" "k8s.io/apiserver/pkg/quota/v1/generic" "k8s.io/apiserver/pkg/util/feature" "k8s.io/utils/clock" resourcehelper "k8s.io/kubernetes/pkg/api/v1/resource" api "k8s.io/kubernetes/pkg/apis/core"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 05 00:02:47 UTC 2023 - 17.4K bytes - Viewed (0) -
plugin/pkg/admission/resourcequota/admission_test.go
} } // TestAdmitBelowTerminatingQuotaLimit ensures that terminating pods are charged to the right quota. // It creates a terminating and non-terminating quota, and creates a terminating pod. // It ensures that the terminating quota is incremented, and the non-terminating quota is not. func TestAdmitBelowTerminatingQuotaLimit(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 84.1K bytes - Viewed (0) -
pkg/controller/resourcequota/resource_quota_controller_test.go
items []runtime.Object quota v1.ResourceQuota status v1.ResourceQuotaStatus expectedError string expectedActionSet sets.String }{ "non-matching-best-effort-scoped-quota": { gvr: v1.SchemeGroupVersion.WithResource("pods"), quota: v1.ResourceQuota{ ObjectMeta: metav1.ObjectMeta{Name: "quota", Namespace: "testing"}, Spec: v1.ResourceQuotaSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 16:29:33 UTC 2023 - 42.6K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/services.go
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apiserver/pkg/admission" quota "k8s.io/apiserver/pkg/quota/v1" "k8s.io/apiserver/pkg/quota/v1/generic" api "k8s.io/kubernetes/pkg/apis/core" k8s_api_v1 "k8s.io/kubernetes/pkg/apis/core/v1" ) // the name used for object count quota
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 7K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/helpers_linux.go
if milliCPU == 0 { return } // we then convert your milliCPU to a value normalized over a period quota = (milliCPU * period) / milliCPUToCPU // quota needs to be a minimum of 1ms. if quota < minQuotaPeriod { quota = minQuotaPeriod } return } // sharesToMilliCPU converts CpuShares (cpu.shares) to milli-CPU value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 2.5K bytes - Viewed (0) -
pkg/kubelet/cm/helpers_linux_test.go
quota := MilliCPUToQuota(testCase.input, int64(testCase.period)) if quota != testCase.quota { t.Errorf("Input %v and %v, expected quota %v, but got quota %v", testCase.input, testCase.period, testCase.quota, quota) } } } func TestHugePageLimits(t *testing.T) { Mi := int64(1024 * 1024) type inputStruct struct { key string input string } testCases := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/quota/v1/interfaces.go
Handles(operation admission.Attributes) bool // Matches returns true if the specified quota matches the input item Matches(resourceQuota *corev1.ResourceQuota, item runtime.Object) (bool, error) // MatchingScopes takes the input specified list of scopes and input object and returns the set of scopes that matches input object.
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/controlplane/apiserver/admission/initializer_test.go
func (doNothingQuotaConfiguration) Evaluators() []quota.Evaluator { return nil } type WantsQuotaConfigurationAdmissionPlugin struct { doNothingAdmission doNothingPluginInitialization config quota.Configuration } func (p *WantsQuotaConfigurationAdmissionPlugin) SetQuotaConfiguration(config quota.Configuration) { p.config = config }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 2K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/registry.go
*/ package core import ( corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime/schema" quota "k8s.io/apiserver/pkg/quota/v1" "k8s.io/apiserver/pkg/quota/v1/generic" "k8s.io/utils/clock" ) // legacyObjectCountAliases are what we used to do simple object counting quota with mapped to alias var legacyObjectCountAliases = map[schema.GroupVersionResource]corev1.ResourceName{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 10 09:42:32 UTC 2021 - 1.9K bytes - Viewed (0)