Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isVolumeConflict (0.12 sec)

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

    		conflictingPVCRefCount: s.conflictingPVCRefCount,
    	}
    }
    
    // Name returns name of the plugin. It is used in logs, etc.
    func (pl *VolumeRestrictions) Name() string {
    	return Name
    }
    
    func isVolumeConflict(volume *v1.Volume, pod *v1.Pod) bool {
    	for _, existingVolume := range pod.Spec.Volumes {
    		// Same GCE disk mounted by multiple pods conflicts unless all pods mount it read-only.
    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