Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for satisfyVolumeConflicts (0.33 sec)

  1. pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions.go

    			continue
    		}
    		pvcs.Insert(pvc.Name)
    	}
    	return pvcs, nil
    }
    
    // Checks if scheduling the pod onto this node would cause any conflicts with
    // existing volumes.
    func satisfyVolumeConflicts(pod *v1.Pod, nodeInfo *framework.NodeInfo) bool {
    	for i := range pod.Spec.Volumes {
    		v := pod.Spec.Volumes[i]
    		if !needsRestrictionsCheck(v) {
    			continue
    		}
    		for _, ev := range nodeInfo.Pods {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 17:40:39 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top