- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 250 for vuotta (0.11 sec)
-
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) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/admission.go
v1 "k8s.io/apiserver/pkg/admission/plugin/resourcequota/apis/resourcequota/v1" "k8s.io/apiserver/pkg/admission/plugin/resourcequota/apis/resourcequota/validation" quota "k8s.io/apiserver/pkg/quota/v1" "k8s.io/apiserver/pkg/quota/v1/generic" "k8s.io/client-go/informers" "k8s.io/client-go/kubernetes" ) // PluginName is a string with the name of the plugin const PluginName = "ResourceQuota" var (
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 23 10:34:50 UTC 2022 - 5.8K bytes - Viewed (0) -
cmd/metrics-v3-cluster-usage.go
m.Set(usageBucketVersionsCount, float64(usage.VersionsCount), "bucket", bucket) m.Set(usageBucketDeleteMarkersCount, float64(usage.DeleteMarkersCount), "bucket", bucket) if quota != nil && quota.Quota > 0 { m.Set(usageBucketQuotaTotalBytes, float64(quota.Quota), "bucket", bucket) } for k, v := range usage.ObjectSizesHistogram { m.Set(usageBucketObjectSizeDistribution, float64(v), "range", k, "bucket", bucket) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 6.6K bytes - Viewed (0) -
pkg/volume/util/fsquota/common/quota_common.go
limitations under the License. */ package common // QuotaID is generic quota identifier. // Data type based on quotactl(2). type QuotaID int32 const ( // UnknownQuotaID -- cannot determine whether a quota is in force UnknownQuotaID QuotaID = -1 // BadQuotaID -- Invalid quota BadQuotaID QuotaID = 0
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 28 06:09:31 UTC 2023 - 844 bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/services_test.go
limitations under the License. */ package core import ( "testing" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" "k8s.io/apimachinery/pkg/runtime/schema" quota "k8s.io/apiserver/pkg/quota/v1" "k8s.io/apiserver/pkg/quota/v1/generic" api "k8s.io/kubernetes/pkg/apis/core" utilpointer "k8s.io/utils/pointer" ) func TestServiceEvaluatorMatchesResources(t *testing.T) { evaluator := NewServiceEvaluator(nil)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 16 15:48:58 UTC 2021 - 9.4K bytes - Viewed (0) -
cmd/kube-controller-manager/app/options/resourcequotacontroller.go
} fs.DurationVar(&o.ResourceQuotaSyncPeriod.Duration, "resource-quota-sync-period", o.ResourceQuotaSyncPeriod.Duration, "The period for syncing quota usage status in the system") fs.Int32Var(&o.ConcurrentResourceQuotaSyncs, "concurrent-resource-quota-syncs", o.ConcurrentResourceQuotaSyncs, "The number of resource quotas that are allowed to sync concurrently. Larger number = more responsive quota management, but more CPU (and network) load") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 04:54:33 UTC 2019 - 2K bytes - Viewed (0) -
pkg/volume/util/fsquota/common/quota_common_linux_impl.go
allowEmptyOutput: true, // XFS filesystems report nothing if a quota is not present }, { name: "ext4fs", typeMagic: 0xef53, maxQuota: (1<<(bitsPerWord-1) - 1) & (1<<58 - 1), allowEmptyOutput: false, // ext4 filesystems always report something even if a quota is not present }, } ) // VolumeProvider supplies a quota applier to the generic code. type VolumeProvider struct { }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 9.1K bytes - Viewed (0) -
pkg/kubelet/cm/helpers_linux.go
period = QuotaPeriod } // 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 } // MilliCPUToShares converts the milliCPU to CFS shares. func MilliCPUToShares(milliCPU int64) uint64 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 11:52:28 UTC 2023 - 9.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/audit_test.go
true, }, "forbidden error": { NewForbidden(attributes(), fmt.Errorf("quota exceeded")), nil, NewForbidden(attributes(), fmt.Errorf("quota exceeded")), nil, true, }, "forbidden error with annotations": { NewForbidden(attributes(), fmt.Errorf("quota exceeded")), nil, NewForbidden(attributes(), fmt.Errorf("quota exceeded")), map[string]string{ "plugin.example.com/foo": "bar", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 5.8K bytes - Viewed (0) -
pkg/controller/resourcequota/resource_quota_monitor.go
"k8s.io/apimachinery/pkg/runtime/schema" utilerrors "k8s.io/apimachinery/pkg/util/errors" utilruntime "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/apimachinery/pkg/util/wait" quota "k8s.io/apiserver/pkg/quota/v1" "k8s.io/apiserver/pkg/quota/v1/generic" "k8s.io/client-go/tools/cache" "k8s.io/client-go/util/workqueue" "k8s.io/controller-manager/pkg/informerfactory" "k8s.io/kubernetes/pkg/controller" ) type eventType int
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 11.6K bytes - Viewed (0)