Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 178 for fsquota (2.7 sec)

  1. pkg/quota/v1/install/registry.go

    	"k8s.io/apimachinery/pkg/runtime/schema"
    	quota "k8s.io/apiserver/pkg/quota/v1"
    	"k8s.io/apiserver/pkg/quota/v1/generic"
    	"k8s.io/kubernetes/pkg/apis/authentication"
    	"k8s.io/kubernetes/pkg/apis/authorization"
    	"k8s.io/kubernetes/pkg/quota/v1/evaluator/core"
    )
    
    // NewQuotaConfigurationForAdmission returns a quota configuration for admission control.
    func NewQuotaConfigurationForAdmission() quota.Configuration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 14 16:00:26 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  2. docs/bucket/quota/README.md

    ## Set bucket quota configuration
    
    ### Set a hard quota of 1GB for a bucket `mybucket` on MinIO object storage
    
    ```sh
    mc admin bucket quota myminio/mybucket --hard 1gb
    ```
    
    ### Verify the quota configured on `mybucket` on MinIO
    
    ```sh
    mc admin bucket quota myminio/mybucket
    ```
    
    ### Clear bucket quota configuration for `mybucket` on MinIO
    
    ```sh
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/quota/v1/evaluator/core/persistent_volume_claims.go

    	"k8s.io/apiserver/pkg/admission"
    	quota "k8s.io/apiserver/pkg/quota/v1"
    	"k8s.io/apiserver/pkg/quota/v1/generic"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	storagehelpers "k8s.io/component-helpers/storage/volume"
    	api "k8s.io/kubernetes/pkg/apis/core"
    	k8s_api_v1 "k8s.io/kubernetes/pkg/apis/core/v1"
    	k8sfeatures "k8s.io/kubernetes/pkg/features"
    )
    
    // the name used for object count quota
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:36:24 UTC 2022
    - 9.2K bytes
    - Viewed (0)
  7. pkg/volume/util/fsquota/common/quota_common_linux.go

    }
    
    // LinuxVolumeQuotaApplier is a generic interface to any quota
    // mechanism supported by Linux
    type LinuxVolumeQuotaApplier interface {
    	// GetQuotaOnDir gets the quota ID (if any) that applies to
    	// this directory
    	GetQuotaOnDir(path string) (QuotaID, error)
    
    	// SetQuotaOnDir applies the specified quota ID to a directory.
    	// Negative value for bytes means that a non-enforcing quota
    	// should be applied (perhaps by setting a quota too large to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 28 06:09:31 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top