Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IsMultiAttachAllowed (0.17 sec)

  1. pkg/controller/volume/attachdetach/reconciler/reconciler.go

    			// double detach attempts
    			// The operation key format is different depending on whether the volume
    			// allows multi attach across different nodes.
    			if util.IsMultiAttachAllowed(attachedVolume.VolumeSpec) {
    				if !rc.attacherDetacher.IsOperationSafeToRetry(attachedVolume.VolumeName, "" /* podName */, attachedVolume.NodeName, operationexecutor.DetachOperationName) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 21:02:38 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. pkg/volume/util/util.go

    			return fmt.Errorf("command (%q) failed: %v, output: %q", cmdString, err, string(output))
    		}
    	}
    	// For linux runtime, it skips because unmount will automatically flush disk data
    	return nil
    }
    
    // IsMultiAttachAllowed checks if attaching this volume to multiple nodes is definitely not allowed/possible.
    // In its current form, this function can only reliably say for which volumes it's definitely forbidden. If it returns
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  3. pkg/volume/util/operationexecutor/operation_executor.go

    	actualStateOfWorld ActualStateOfWorldAttacherUpdater) error {
    	generatedOperations :=
    		oe.operationGenerator.GenerateAttachVolumeFunc(logger, volumeToAttach, actualStateOfWorld)
    
    	if util.IsMultiAttachAllowed(volumeToAttach.VolumeSpec) {
    		return oe.pendingOperations.Run(
    			volumeToAttach.VolumeName, "" /* podName */, volumeToAttach.NodeName, generatedOperations)
    	}
    
    	return oe.pendingOperations.Run(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top