Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 61 for fsquota (0.33 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/admin-bucket-handlers.go

    )
    
    const (
    	bucketQuotaConfigFile = "quota.json"
    	bucketTargetsFile     = "bucket-targets.json"
    )
    
    // PutBucketQuotaConfigHandler - PUT Bucket quota configuration.
    // ----------
    // Places a quota configuration on the specified bucket. The quota
    // specified in the quota configuration will be applied by default
    // to enforce total quota for the specified bucket.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  5. pkg/apis/core/helper/helpers.go

    // to avoid confusion with the convention in quota
    // 3. it satisfies the rules in IsQualifiedName() after converted into quota resource name
    func IsExtendedResourceName(name core.ResourceName) bool {
    	if IsNativeResource(name) || strings.HasPrefix(string(name), core.DefaultResourceRequestsPrefix) {
    		return false
    	}
    	// Ensure it satisfies the rules in IsQualifiedName() after converted into quota resource name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  6. pkg/bootstrap/platform/gcp.go

    var GCPStaticMetadata = func() map[string]string {
    	gcpm := env.Register("GCP_METADATA", "", "Pipe separated GCP metadata, schemed as PROJECT_ID|PROJECT_NUMBER|CLUSTER_NAME|CLUSTER_ZONE").Get()
    	quota := env.Register("GCP_QUOTA_PROJECT", "", "Allows specification of a quota project to be used in requests to GCP APIs.").Get()
    	if len(gcpm) == 0 {
    		return map[string]string{}
    	}
    	md := map[string]string{}
    	parts := strings.Split(gcpm, "|")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 00:37:33 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  7. pkg/quota/v1/evaluator/core/pods_test.go

    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	quota "k8s.io/apiserver/pkg/quota/v1"
    	"k8s.io/apiserver/pkg/quota/v1/generic"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/client-go/tools/cache"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	api "k8s.io/kubernetes/pkg/apis/core"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  8. pkg/apis/core/v1/helper/helpers.go

    // to avoid confusion with the convention in quota
    // 3. it satisfies the rules in IsQualifiedName() after converted into quota resource name
    func IsExtendedResourceName(name v1.ResourceName) bool {
    	if IsNativeResource(name) || strings.HasPrefix(string(name), v1.DefaultResourceRequestsPrefix) {
    		return false
    	}
    	// Ensure it satisfies the rules in IsQualifiedName() after converted into quota resource name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. cmd/object-api-errors.go

    }
    
    // BucketQuotaConfigNotFound - no bucket quota config found.
    type BucketQuotaConfigNotFound GenericError
    
    func (e BucketQuotaConfigNotFound) Error() string {
    	return "No quota config found for bucket : " + e.Bucket
    }
    
    // BucketQuotaExceeded - bucket quota exceeded.
    type BucketQuotaExceeded GenericError
    
    func (e BucketQuotaExceeded) Error() string {
    	return "Bucket quota exceeded for bucket: " + e.Bucket
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 22:19:00 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. api/discovery/api__v1.json

            "get",
            "patch",
            "update"
          ]
        },
        {
          "kind": "ResourceQuota",
          "name": "resourcequotas",
          "namespaced": true,
          "shortNames": [
            "quota"
          ],
          "singularName": "resourcequota",
          "storageVersionHash": "8uhSgffRX6w=",
          "verbs": [
            "create",
            "delete",
            "deletecollection",
            "get",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 15 18:18:19 UTC 2023
    - 10.5K bytes
    - Viewed (0)
Back to top