Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 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/portworx/portworx_util.go

    	err = driver.Delete(d.volumeID)
    	if err != nil {
    		klog.Errorf("Error deleting Portworx Volume (%v): %v", d.volName, err)
    		return err
    	}
    	return nil
    }
    
    // AttachVolume attaches a Portworx Volume
    func (util *portworxVolumeUtil) AttachVolume(m *portworxVolumeMounter, attachOptions map[string]string) (string, error) {
    	driver, err := util.getLocalPortworxDriver(m.plugin.host)
    	if err != nil || driver == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. pkg/volume/portworx/portworx_test.go

    		t.Errorf("Expected not to support AccessModeTypes:  %s", v1.ReadOnlyMany)
    	}
    }
    
    type fakePortworxManager struct {
    	attachCalled bool
    	mountCalled  bool
    }
    
    func (fake *fakePortworxManager) AttachVolume(b *portworxVolumeMounter, attachOptions map[string]string) (string, error) {
    	fake.attachCalled = true
    	return "", nil
    }
    
    func (fake *fakePortworxManager) DetachVolume(c *portworxVolumeUnmounter) error {
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 21 02:17:04 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.15.md

    ([#75213](https://github.com/kubernetes/kubernetes/pull/75213), [@gnufied](https://github.com/gnufied))
    - Reduced event spam for `AttachVolume` storage operation. ([#75986](https://github.com/kubernetes/kubernetes/pull/75986), [@mucahitkurt](https://github.com/mucahitkurt))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 278.9K bytes
    - Viewed (0)
Back to top