Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AttachVolume (0.18 sec)

  1. pkg/kubelet/volumemanager/reconciler/reconciler_common.go

    		}
    		klog.V(5).InfoS(volumeToAttach.GenerateMsgDetailed("Starting operationExecutor.AttachVolume", ""), "pod", klog.KObj(volumeToMount.Pod))
    		err := rc.operationExecutor.AttachVolume(logger, volumeToAttach, rc.actualStateOfWorld)
    		if err != nil && !isExpectedError(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. pkg/controller/volume/attachdetach/reconciler/reconciler.go

    		}
    
    		// Volume/Node doesn't exist, spawn a goroutine to attach it
    		logger.V(5).Info("Starting attacherDetacher.AttachVolume", "volume", volumeToAttach)
    		err := rc.attacherDetacher.AttachVolume(logger, volumeToAttach.VolumeToAttach, rc.actualStateOfWorld)
    		if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 21:02:38 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. pkg/volume/portworx/portworx.go

    	CreateVolume(provisioner *portworxVolumeProvisioner) (volumeID string, volumeSizeGB int64, labels map[string]string, err error)
    	// Deletes a volume
    	DeleteVolume(deleter *portworxVolumeDeleter) error
    	// Attach a volume
    	AttachVolume(mounter *portworxVolumeMounter, attachOptions map[string]string) (string, error)
    	// Detach a volume
    	DetachVolume(unmounter *portworxVolumeUnmounter) error
    	// Mount a volume
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. pkg/volume/util/operationexecutor/operation_executor_test.go

    					Spec: v1.PersistentVolumeSpec{
    						AccessModes: []v1.PersistentVolumeAccessMode{v1.ReadWriteOnce},
    					},
    				},
    			},
    		}
    		logger, _ := ktesting.NewTestContext(t)
    		oe.AttachVolume(logger, volumesToAttach[i], nil /* actualStateOfWorldAttacherUpdater */)
    	}
    
    	// Assert
    	if !isOperationRunSerially(ch, quit) {
    		t.Fatalf("Attach volume operations should not start concurrently")
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  5. pkg/volume/util/operationexecutor/operation_generator.go

    			eventErr, detailedErr := volumeToAttach.GenerateError("AttachVolume.FindAttachablePluginBySpec failed", err)
    			return volumetypes.NewOperationContext(eventErr, detailedErr, migrated)
    		}
    
    		volumeAttacher, newAttacherErr := attachableVolumePlugin.NewAttacher()
    		if newAttacherErr != nil {
    			eventErr, detailedErr := volumeToAttach.GenerateError("AttachVolume.NewAttacher failed", newAttacherErr)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  6. pkg/volume/util/operationexecutor/operation_executor.go

    // responsible for rate limiting on errors.
    type OperationExecutor interface {
    	// AttachVolume attaches the volume to the node specified in volumeToAttach.
    	// It then updates the actual state of the world to reflect that.
    	AttachVolume(logger klog.Logger, volumeToAttach VolumeToAttach, actualStateOfWorld ActualStateOfWorldAttacherUpdater) error
    
    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