Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for volumeMounter (0.37 sec)

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

    		if err != nil {
    			return nil, err
    		}
    	} else {
    		uniqueVolumeName = util.GetUniqueVolumeNameFromSpecWithPod(volume.podName, plugin, volumeSpec)
    	}
    
    	var volumeMapper volumepkg.BlockVolumeMapper
    	var volumeMounter volumepkg.Mounter
    	var deviceMounter volumepkg.DeviceMounter
    
    	if volume.volumeMode == v1.PersistentVolumeBlock {
    		var newMapperErr error
    		volumeMapper, newMapperErr = mapperPlugin.NewBlockVolumeMapper(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. pkg/volume/util/operationexecutor/operation_generator.go

    			PodUID:              volumeToMount.Pod.UID,
    			VolumeName:          volumeToMount.VolumeName,
    			Mounter:             volumeMounter,
    			OuterVolumeSpecName: volumeToMount.OuterVolumeSpecName,
    			VolumeGidVolume:     volumeToMount.VolumeGidValue,
    			VolumeSpec:          volumeToMount.VolumeSpec,
    			VolumeMountState:    VolumeMounted,
    			SELinuxMountContext: volumeToMount.SELinuxLabel,
    		}
    		if mountErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    		if !ok || vol.Mounter == nil {
    			klog.ErrorS(nil, "Mount cannot be satisfied for the container, because the volume is missing or the volume mounter (vol.Mounter) is nil",
    				"containerName", container.Name, "ok", ok, "volumeMounter", mount)
    			return nil, cleanupAction, fmt.Errorf("cannot find volume %q to mount into container %q", mount.Name, container.Name)
    		}
    
    		relabelVolume := false
    		// If the volume supports SELinux and it has not been
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/cache/actual_state_of_world.go

    	// actual state of the world.
    	GetMountedVolumes() []MountedVolume
    
    	// GetAllMountedVolumes returns list of all possibly mounted volumes including
    	// those that are in VolumeMounted state and VolumeMountUncertain state.
    	GetAllMountedVolumes() []MountedVolume
    
    	// GetMountedVolumesForPod generates and returns a list of volumes that are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/metrics/metrics_test.go

    		Mounter:             mounter,
    		BlockVolumeMapper:   mapper,
    		OuterVolumeSpecName: volumeSpec.Name(),
    		VolumeSpec:          volumeSpec,
    		VolumeMountState:    operationexecutor.VolumeMounted,
    	}
    	err = asw.AddPodToVolume(markVolumeOpts)
    	if err != nil {
    		t.Fatalf("AddPodToVolume failed. Expected: <no error> Actual: <%v>", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. pkg/volume/util/operationexecutor/operation_executor.go

    )
    
    // VolumeMountState represents volume mount state in a path local to the pod.
    type VolumeMountState string
    
    const (
    	// VolumeMounted means volume has been mounted in pod's local path
    	VolumeMounted VolumeMountState = "VolumeMounted"
    
    	// VolumeMountUncertain means volume may or may not be mounted in pods' local path
    	VolumeMountUncertain VolumeMountState = "VolumeMountUncertain"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. pkg/volume/testing/testing.go

    	deviceMountUncertain = "deviceMountUncertain"
    	deviceMounted        = "deviceMounted"
    
    	volumeNotMounted     = "volumeNotMounted"
    	volumeMountUncertain = "volumeMountUncertain"
    	volumeMounted        = "volumeMounted"
    
    	FailNewMounter = "fail-new-mounter"
    )
    
    // CommandScript is used to pre-configure a command that will be executed and
    // optionally set it's output (stdout and stderr combined) and return code.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  8. pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go

    			opCallback: func(asw ActualStateOfWorld, volumeOpts operationexecutor.MarkVolumeOpts) error {
    				volumeOpts.VolumeMountState = operationexecutor.VolumeMounted
    				return asw.MarkVolumeAsMounted(volumeOpts)
    			},
    			verifyCallback: func(asw ActualStateOfWorld, volumeOpts operationexecutor.MarkVolumeOpts) error {
    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/reconciler/reconciler_test.go

    			volumeState:            operationexecutor.VolumeMounted,
    			unmountDeviceCallCount: 1,
    			unmountVolumeCount:     1,
    			volumeName:             volumetesting.SuccessAndTimeoutSetupVolumeName,
    			supportRemount:         true,
    		},
    		{
    			name:                   "success followed by failed operation should result in mounted volume",
    			volumeState:            operationexecutor.VolumeMounted,
    			unmountDeviceCallCount: 1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  10. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    			OuterVolumeSpecName: volumeToMount.OuterVolumeSpecName,
    			VolumeGidVolume:     volumeToMount.VolumeGidValue,
    			VolumeSpec:          volumeToMount.VolumeSpec,
    			VolumeMountState:    operationexecutor.VolumeMounted,
    		}
    		err = asw.MarkVolumeAsMounted(markVolumeOpts)
    		if err != nil {
    			t.Fatalf("Unexpected error when MarkVolumeAsMounted: %v", err)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
Back to top