Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for volumeLimits (0.16 sec)

  1. pkg/scheduler/framework/plugins/nodevolumelimits/utils.go

    	}
    
    	return mpaSet.Has(pluginName)
    }
    
    // volumeLimits returns volume limits associated with the node.
    func volumeLimits(n *framework.NodeInfo) map[v1.ResourceName]int64 {
    	volumeLimits := map[v1.ResourceName]int64{}
    	for k, v := range n.Allocatable.ScalarResources {
    		if v1helper.IsAttachableVolumeResourceName(k) {
    			volumeLimits[k] = v
    		}
    	}
    	return volumeLimits
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. pkg/volume/csi/nodeinfomanager/nodeinfomanager_test.go

    	return string(b)
    }
    
    func generateCSINode(nodeIDs nodeIDMap, volumeLimits *storage.VolumeNodeResources, topologyKeys topologyKeyMap) *storage.CSINode {
    	nodeDrivers := []storage.CSINodeDriver{}
    	for k, nodeID := range nodeIDs {
    		dspec := storage.CSINodeDriver{
    			Name:        k,
    			NodeID:      nodeID,
    			Allocatable: volumeLimits,
    		}
    		if top, exists := topologyKeys[k]; exists {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 17 02:02:59 UTC 2022
    - 34.3K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi.go

    	for k := range existingVolumes {
    		delete(newVolumes, k)
    	}
    
    	numNewVolumes := len(newVolumes)
    	maxAttachLimit := pl.maxVolumeFunc(node)
    	volumeLimits := volumeLimits(nodeInfo)
    	if maxAttachLimitFromAllocatable, ok := volumeLimits[pl.volumeLimitKey]; ok {
    		maxAttachLimit = int(maxAttachLimitFromAllocatable)
    	}
    
    	if numExistingVolumes+numNewVolumes > maxAttachLimit {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 30 23:00:56 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/nodevolumelimits/csi.go

    	}, nil
    }
    
    func getVolumeLimits(nodeInfo *framework.NodeInfo, csiNode *storagev1.CSINode) map[v1.ResourceName]int64 {
    	// TODO: stop getting values from Node object in v1.18
    	nodeVolumeLimits := volumeLimits(nodeInfo)
    	if csiNode != nil {
    		for i := range csiNode.Spec.Drivers {
    			d := csiNode.Spec.Drivers[i]
    			if d.Allocatable != nil && d.Allocatable.Count != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. pkg/volume/testing/testing.go

    	Config                 volume.VolumeConfig
    	LastProvisionerOptions volume.VolumeOptions
    	NewAttacherCallCount   int
    	NewDetacherCallCount   int
    	NodeExpandCallCount    int
    	VolumeLimits           map[string]int64
    	VolumeLimitsError      error
    	LimitKey               string
    	ProvisionDelaySeconds  int
    	SupportsRemount        bool
    	SupportsSELinux        bool
    	DisableNodeExpansion   bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. pkg/volume/util/attach_limit.go

    	// DefaultMaxEBSVolumes is the limit for volumes attached to an instance.
    	// Amazon recommends no more than 40; the system root volume uses at least one.
    	// See http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/volume_limits.html#linux-specific-volume-limits
    	DefaultMaxEBSVolumes = 39
    	// DefaultMaxEBSNitroVolumeLimit is default EBS volume limit on m5 and c5 instances
    	DefaultMaxEBSNitroVolumeLimit = 25
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 17:25:30 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.31.md

    - Kube-scheduler deprecated all non-csi volumelimit plugins and removed those from defaults plugins. 
      - AzureDiskLimits
      - CinderLimits
      - EBSLimits
      - GCEPDLimits
      
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
Back to top