Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 235 for Quota (0.17 sec)

  1. pkg/volume/util/fsquota/quota.go

    )
    
    // Interface -- quota interface
    type Interface interface {
    	// GetQuotaOnDir gets the quota ID (if any) that applies to
    	// this directory
    	GetQuotaOnDir(m mount.Interface, path string) (common.QuotaID, error)
    
    	// Does the path provided support quotas, and if so, what types
    	SupportsQuotas(m mount.Interface, path string) (bool, error)
    	// Assign a quota (picked by the quota mechanism) to a path,
    	// and return it.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 28 06:09:31 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. 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)
  3. cluster/gce/addons/admission-resource-quota-critical-pods/resource-quota.yaml

    # critical pods are configured as a limited resource by admission_controller_config.yaml,
    # which means they are disallowed unless explicitly allowed by a namespaced quota object.
    # This quota effectively removes the restriction on the number of critical pods allowed in the kube-system namespace.
    apiVersion: v1
    kind: ResourceQuota
    metadata:
      name: gcp-critical-pods
      namespace: kube-system
      labels:
        addonmanager.kubernetes.io/mode: Reconcile
    spec:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 17 13:52:19 UTC 2020
    - 644 bytes
    - Viewed (0)
  4. 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)
  5. pkg/volume/util/fsquota/quota_linux.go

    			klog.V(3).Infof("Attempt to clear quota failed: %v", err)
    		}
    		// Even if clearing the quota failed, we still need to
    		// try to remove the project ID, or that may be left dangling.
    		err1 := removeProjectID(path, projid)
    		if err1 != nil {
    			klog.V(3).Infof("Attempt to remove quota ID from system files failed: %v", err1)
    		}
    		clearFSInfo(path)
    		if err != nil {
    			return err
    		}
    		return err1
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 07 08:07:51 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  6. 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)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/apis/resourcequota/types.go

    	// with any storage class, the list would include
    	// ".storageclass.storage.k8s.io/requests.storage"
    	MatchContains []string
    
    	// For each intercepted request, the quota system will figure out if the input object
    	// satisfies a scope which is present in this listing, then
    	// quota system will ensure that there is a covering quota.  In the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 04 12:53:52 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  8. 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)
  9. staging/src/k8s.io/apiserver/pkg/quota/v1/generic/registry.go

    	"k8s.io/apimachinery/pkg/runtime/schema"
    	quota "k8s.io/apiserver/pkg/quota/v1"
    )
    
    // implements a basic registry
    type simpleRegistry struct {
    	lock sync.RWMutex
    	// evaluators tracked by the registry
    	evaluators map[schema.GroupResource]quota.Evaluator
    }
    
    // NewRegistry creates a simple registry with initial list of evaluators
    func NewRegistry(evaluators []quota.Evaluator) quota.Registry {
    	return &simpleRegistry{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 04 12:53:52 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  10. 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)
Back to top