- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 88 for vuotta (0.23 sec)
-
cmd/bucket-quota.go
internalLogIf(GlobalContext, errors.New("Detected older 'fifo' quota config, 'fifo' feature is removed and not supported anymore. Please clear your quota configs using 'mc admin bucket quota alias/bucket --clear' and use 'mc ilm add' for expiration of objects"), logger.WarningKind) return quotaCfg, fmt.Errorf("invalid quota type 'fifo'") } return quotaCfg, fmt.Errorf("Invalid quota config %#v", quotaCfg) } return }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 09 00:51:34 UTC 2024 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go
// and the running quota doesn't change. If it did fit, check to see if any quota was changed. If there was no quota change // mark the waiter as succeeded. If some quota did change, update the running quotas // 2. If no running quota was changed, return now since no updates are needed.
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.go
// We are only interested in observing updates to quota.spec to drive updates to quota.status. // We ignore all updates to quota.Status because they are all driven by this controller. // IMPORTANT: // We do not use this function to queue up a full quota recalculation. To do so, would require // us to enqueue all quota.Status updates, and since quota.Status updates involve additional queries
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 21.3K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/helpers_linux_test.go
{ msg: "1500 input 150k quota and default period", input: int64(1500), expected: int64(150000), period: uint64(100000), }} { t.Run(testCase.msg, func(t *testing.T) { quota := milliCPUToQuota(testCase.input, int64(testCase.period)) if quota != testCase.expected { t.Errorf("Input %v and %v, expected quota %v, but got quota %v", testCase.input, testCase.period, testCase.expected, quota) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/resource_access.go
// checkCache compares the passed quota against the value in the look-aside cache and returns the newer // if the cache is out of date, it deletes the stale entry. This only works because of etcd resourceVersions // being monotonically increasing integers func (e *quotaAccessor) checkCache(quota *corev1.ResourceQuota) *corev1.ResourceQuota { key := quota.Namespace + "/" + quota.Name uncastCachedQuota, ok := e.updatedQuotas.Get(key)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 13:54:56 UTC 2024 - 5.6K bytes - Viewed (0) -
pkg/controlplane/apiserver/admission/initializer.go
"k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apiserver/pkg/admission" "k8s.io/apiserver/pkg/admission/initializer" quota "k8s.io/apiserver/pkg/quota/v1" ) // PluginInitializer is used for initialization of the generic controlplane admission plugins. type PluginInitializer struct { quotaConfiguration quota.Configuration excludedAdmissionResources []schema.GroupResource }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 1.8K 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/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) -
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) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/resource_access_test.go
ListMeta: metav1.ListMeta{ ResourceVersion: fmt.Sprintf("%d", len(resourceQuotas)), }, } for i, quota := range resourceQuotas { quota.ResourceVersion = fmt.Sprintf("%d", i) quota.Namespace = action.GetNamespace() resourceQuotaList.Items = append(resourceQuotaList.Items, *quota) } // make the handler slow so concurrent calls exercise the singleflight time.Sleep(time.Second)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 13:54:56 UTC 2024 - 7.2K bytes - Viewed (0)