- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for maxAttachLimit (0.21 sec)
-
pkg/volume/csi/nodeinfomanager/nodeinfomanager.go
TopologyKeys: sets.List[string](topologyKeys), } if maxAttachLimit > 0 { if maxAttachLimit > math.MaxInt32 { klog.Warningf("Exceeded max supported attach limit value, truncating it to %d", math.MaxInt32) maxAttachLimit = math.MaxInt32 } m := int32(maxAttachLimit) driverSpec.Allocatable = &storagev1.VolumeNodeResources{Count: &m} } else if maxAttachLimit != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 20.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodevolumelimits/non_csi.go
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 { return framework.NewStatus(framework.Unschedulable, ErrReasonMaxVolumeCountExceeded)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Dec 30 23:00:56 UTC 2023 - 19.6K bytes - Viewed (0)