Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FindPodVolumes (0.3 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    				equal = false
    				break
    			}
    		}
    	}
    	if !equal {
    		t.Errorf("expected failure reasons %s, got %s", reasonNames(expected), reasonNames(actual))
    	}
    }
    
    // findPodVolumes gets and finds volumes for given pod and node
    func findPodVolumes(logger klog.Logger, binder SchedulerVolumeBinder, pod *v1.Pod, node *v1.Node) (*PodVolumes, ConflictReasons, error) {
    	podVolumeClaims, err := binder.GetPodVolumeClaims(logger, pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumebinding/binder.go

    	b.csiStorageCapacityLister = capacityCheck.CSIStorageCapacityInformer.Lister()
    
    	return b
    }
    
    // FindPodVolumes finds the matching PVs for PVCs and nodes to provision PVs
    // for the given pod and node. If the node does not fit, conflict reasons are
    // returned.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top