Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 277 for quotas (0.16 sec)

  1. 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)
  2. pkg/volume/util/fsquota/quota_linux.go

    	// never have been one, and we have no way to know otherwise
    	klog.V(3).Infof("clearQuotaOnDir fails %v", err)
    	return nil
    }
    
    // SupportsQuotas -- Does the path support quotas
    // Cache the applier for paths that support quotas.  For paths that don't,
    // don't cache the result because nothing will clean it up.
    // However, do cache the device->applier map; the number of devices
    // is bounded.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 07 08:07:51 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  3. 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)
  4. pkg/volume/util/fsquota/quota_linux_test.go

    }
    
    const (
    	projectsHeader = `# This is a /etc/projects header
    1048578:/quota/d
    `
    	projects1 = `1048577:/quota1/a
    `
    	projects2 = `1048577:/quota1/a
    1048580:/quota1/b
    `
    	projects3 = `1048577:/quota1/a
    1048580:/quota1/b
    1048581:/quota2/b
    `
    	projects4 = `1048577:/quota1/a
    1048581:/quota2/b
    `
    	projects5 = `1048581:/quota2/b
    `
    
    	projidHeader = `# This is a /etc/projid header
    xxxxxx:1048579
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  5. pkg/volume/emptydir/empty_dir.go

    		if err != nil {
    			klog.V(3).Infof("Unable to check for quota support on %s: %s", dir, err.Error())
    		} else if hasQuotas {
    			klog.V(4).Infof("emptydir trying to assign quota %v on %s", mounterSize, dir)
    			if err := fsquota.AssignQuota(ed.mounter, dir, ed.pod.UID, mounterSize); err != nil {
    				klog.V(3).Infof("Set quota on %s failed %s", dir, err.Error())
    				return err
    			}
    			return nil
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. 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)
  7. pkg/quota/v1/evaluator/core/pods.go

    	"k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apiserver/pkg/admission"
    	quota "k8s.io/apiserver/pkg/quota/v1"
    	"k8s.io/apiserver/pkg/quota/v1/generic"
    	"k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/utils/clock"
    
    	resourcehelper "k8s.io/kubernetes/pkg/api/v1/resource"
    	api "k8s.io/kubernetes/pkg/apis/core"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 05 00:02:47 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  8. src/strconv/quote.go

    	}
    	quote := in[0]
    	end := index(in[1:], quote)
    	if end < 0 {
    		return "", in, ErrSyntax
    	}
    	end += 2 // position after terminating quote; may be wrong if escape sequences are present
    
    	switch quote {
    	case '`':
    		switch {
    		case !unescape:
    			out = in[:end] // include quotes
    		case !contains(in[:end], '\r'):
    			out = in[len("`") : end-len("`")] // exclude quotes
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. pkg/volume/util/fsquota/project.go

    }
    
    // findAvailableQuota finds the next available quota from the FirstQuota
    // it returns error if QuotaIDIsInUse returns error when getting quota id in use;
    // it searches at most maxUnusedQuotasToSearch(128) time
    func findAvailableQuota(path string, idMap map[common.QuotaID]bool) (common.QuotaID, error) {
    	unusedQuotasSearched := 0
    	for id := common.FirstQuota; true; id++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modindex/build.go

    	escaped := false
    	quoted := false
    	quote := '\x00'
    	i := 0
    	for _, rune := range s {
    		switch {
    		case escaped:
    			escaped = false
    		case rune == '\\':
    			escaped = true
    			continue
    		case quote != '\x00':
    			if rune == quote {
    				quote = '\x00'
    				continue
    			}
    		case rune == '"' || rune == '\'':
    			quoted = true
    			quote = rune
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
Back to top