- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getVolumeLimits (0.4 sec)
-
pkg/scheduler/framework/plugins/nodevolumelimits/csi.go
if len(newVolumes) == 0 { return nil } // If the node doesn't have volume limits, the predicate will always be true nodeVolumeLimits := getVolumeLimits(nodeInfo, csiNode) if len(nodeVolumeLimits) == 0 { return nil } attachedVolumes := make(map[string]string) for _, existingPod := range nodeInfo.Pods {
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
if resizeOptions.VolumeSpec.Name() == FailVolumeExpansion { return false, fmt.Errorf("fail volume expansion for volume: %s", FailVolumeExpansion) } return true, nil } func (plugin *FakeVolumePlugin) GetVolumeLimits() (map[string]int64, error) { return plugin.VolumeLimits, plugin.VolumeLimitsError } func (plugin *FakeVolumePlugin) VolumeLimitKey(spec *volume.Spec) string { return plugin.LimitKey }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0)