Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for attachable (0.38 sec)

  1. pkg/volume/util/attach_limit.go

    	AzureVolumeLimitKey = "attachable-volumes-azure-disk"
    	// GCEVolumeLimitKey stores resource name that will store volume limits for GCE node
    	GCEVolumeLimitKey = "attachable-volumes-gce-pd"
    
    	// CinderVolumeLimitKey contains Volume limit key for Cinder
    	CinderVolumeLimitKey = "attachable-volumes-cinder"
    	// DefaultMaxCinderVolumes defines the maximum number of PD Volumes for Cinder
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 17:25:30 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_attacher_test.go

    		watchTimeout           time.Duration
    	}{
    		{
    			name:                   "CSIDriver not attachable",
    			driver:                 "not-attachable",
    			expectVolumeAttachment: false,
    		},
    		{
    			name:                   "CSIDriver is attachable",
    			driver:                 "attachable",
    			expectVolumeAttachment: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_plugin_test.go

    		shouldFail bool
    	}{
    		{
    			name:       "non-attachable inline",
    			driverName: "attachable-inline",
    			spec:       volume.NewSpecFromVolume(makeTestVol("test-vol", "attachable-inline")),
    			canAttach:  false,
    		},
    		{
    			name:       "attachable PV",
    			driverName: "attachable-pv",
    			spec:       volume.NewSpecFromPersistentVolume(makeTestPV("test-vol", 20, "attachable-pv", testVol), true),
    			canAttach:  true,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/reconciler/reconstruct.go

    		return
    	}
    
    	for _, volumeID := range rc.volumesNeedUpdateFromNodeStatus {
    		attachable := false
    		for _, attachedVolume := range node.Status.VolumesAttached {
    			if volumeID != attachedVolume.Name {
    				continue
    			}
    			rc.actualStateOfWorld.UpdateReconstructedDevicePath(volumeID, attachedVolume.DevicePath)
    			attachable = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. pkg/volume/util/operationexecutor/operation_executor_test.go

    			PluginIsAttachable: true, // this field determines whether the plugin is attachable
    			ReportedInUse:      true,
    		}
    		oe.MountVolume(0 /* waitForAttachTimeout */, volumesToMount[i], nil /* actualStateOfWorldMounterUpdater */, false /* isRemount */)
    	}
    
    	// Assert
    	if !isOperationRunSerially(ch, quit) {
    		t.Fatalf("Mount operations should not start concurrently for attachable volumes")
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  6. pkg/kubelet/volumemanager/cache/desired_state_of_world.go

    	var volumeName v1.UniqueVolumeName
    
    	// The unique volume name used depends on whether the volume is attachable/device-mountable
    	// or not.
    	attachable := util.IsAttachableVolume(volumeSpec, dsw.volumePluginMgr)
    	deviceMountable := util.IsDeviceMountableVolume(volumeSpec, dsw.volumePluginMgr)
    	if attachable || deviceMountable {
    		// For attachable/device-mountable volumes, use the unique volume name as reported by
    		// the plugin.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_util_test.go

    		Name: name,
    		VolumeSource: api.VolumeSource{
    			CSI: &api.CSIVolumeSource{
    				Driver:   driverName,
    				ReadOnly: &ro,
    			},
    		},
    	}
    }
    
    func getTestCSIDriver(name string, podInfoMount *bool, attachable *bool, volumeLifecycleModes []storagev1.VolumeLifecycleMode) *storagev1.CSIDriver {
    	defaultFSGroupPolicy := storagev1.ReadWriteOnceWithFSTypeFSGroupPolicy
    	seLinuxMountSupport := true
    	noSElinuxMountSupport := false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go

    	attached := asw.GetAttachedVolumes()
    	attachable := false
    
    	for _, volume := range attached {
    		if volume.VolumeName == volumeToCheck {
    			attachable = volume.PluginIsAttachable
    			break
    		}
    	}
    
    	switch expected {
    	case volumeAttachabilityTrue:
    		if !attachable {
    			t.Errorf("ASW reports %s as not-attachable, when %s was expected", volumeToCheck, expected)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go

    }
    
    // Call AddPodToVolume() on different pods for different kinds of volumes
    // Verities generated names are same for different pods if volume is device mountable or attachable
    // Verities generated names are different for different pods if volume is not device mountble and attachable
    func Test_AddPodToVolume_Positive_NamesForDifferentPodsAndDifferentVolumes(t *testing.T) {
    	// Arrange
    	fakeVolumeHost := volumetesting.NewFakeVolumeHost(t,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 34K bytes
    - Viewed (0)
  10. pkg/volume/util/operationexecutor/operation_executor.go

    	// volume to the pod specified in volumeToMount.
    	// Specifically it will:
    	// * Wait for the device to finish attaching (for attachable volumes only).
    	// * Mount device to global mount path (for attachable volumes only).
    	// * Update actual state of world to reflect volume is globally mounted (for
    	//   attachable volumes only).
    	// * Mount the volume to the pod specific path.
    	// * Update actual state of world to reflect volume is mounted to the pod
    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