- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for volumeLimits (3.98 sec)
-
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) -
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) -
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) -
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) -
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)