Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 787 for quotas (0.12 sec)

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

    	"k8s.io/mount-utils"
    
    	"k8s.io/apimachinery/pkg/api/resource"
    	"k8s.io/apimachinery/pkg/types"
    )
    
    // Dummy quota implementation for systems that do not implement support
    // for volume quotas
    
    var errNotImplemented = errors.New("not implemented")
    
    func GetQuotaOnDir(_ mount.Interface, _ string) (common.QuotaID, error) {
    	return common.BadQuotaID, errNotImplemented
    }
    
    // SupportsQuotas -- dummy implementation
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 28 06:09:31 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. pkg/controller/resourcequota/config/types.go

    type ResourceQuotaControllerConfiguration struct {
    	// resourceQuotaSyncPeriod is the period for syncing quota usage status
    	// in the system.
    	ResourceQuotaSyncPeriod metav1.Duration
    	// concurrentResourceQuotaSyncs is the number of resource quotas that are
    	// allowed to sync concurrently. Larger number = more responsive quota
    	// management, but more CPU (and network) load.
    	ConcurrentResourceQuotaSyncs int32
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 04:54:33 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  3. 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)
  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/util/fs/fs.go

    func DiskUsage(path string) (UsageInfo, error) {
    	var usage UsageInfo
    
    	if path == "" {
    		return usage, fmt.Errorf("invalid directory")
    	}
    
    	// First check whether the quota system knows about this directory
    	// A nil quantity or error means that the path does not support quotas
    	// or xfs_quota tool is missing and we should use other mechanisms.
    	startTime := time.Now()
    	consumption, _ := fsquota.GetConsumption(path)
    	if consumption != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 20 02:56:02 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. operator/pkg/apis/istio/v1alpha1/values_types.proto

      // The name of the init container to use for the repairPods mode.
      string initContainerName = 10;
    }
    
    // Configuration for the resource quotas for the CNI DaemonSet.
    message ResourceQuotas {
      // Controls whether to create resource quotas or not for the CNI DaemonSet.
      google.protobuf.BoolValue enabled = 1;
    
      // The hard limit on the number of pods in the namespace where the CNI DaemonSet is deployed.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  10. src/cmd/internal/quoted/quoted.go

    //
    // Keep in sync with cmd/dist/quoted.go
    func Split(s string) ([]string, error) {
    	// Split fields allowing '' or "" around elements.
    	// Quotes further inside the string do not count.
    	var f []string
    	for len(s) > 0 {
    		for len(s) > 0 && isSpaceByte(s[0]) {
    			s = s[1:]
    		}
    		if len(s) == 0 {
    			break
    		}
    		// Accepted quoted string. No unescaping inside.
    		if s[0] == '"' || s[0] == '\'' {
    			quote := s[0]
    			s = s[1:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:04:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top