Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for podHasPVCs (0.1 sec)

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

    	}
    	return events
    }
    
    // podHasPVCs returns 2 values:
    // - the first one to denote if the given "pod" has any PVC defined.
    // - the second one to return any error if the requested PVC is illegal.
    func (pl *VolumeBinding) podHasPVCs(pod *v1.Pod) (bool, error) {
    	hasPVC := false
    	for _, vol := range pod.Spec.Volumes {
    		var pvcName string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top