Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for volumePath (0.2 sec)

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

    			os.MkdirAll(tmpKubeletPodDir, 0755)
    
    			mountPaths := []string{}
    
    			// create pod and volume directories so as reconciler can find them.
    			for _, volumePath := range tc.volumePaths {
    				vp := filepath.Join(tmpKubeletPodDir, volumePath)
    				mountPaths = append(mountPaths, vp)
    				os.MkdirAll(vp, 0755)
    			}
    
    			rc, fakePlugin := getReconciler(tmpKubeletDir, t, mountPaths, nil /*custom kubeclient*/)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/reconciler/reconstruct_common.go

    				for _, volumeName := range volumePluginDirs {
    					volumePath := filepath.Join(volumePluginPath, volumeName)
    					klog.V(5).InfoS("Volume path from volume plugin directory", "podName", podName, "volumePath", volumePath)
    					volumes = append(volumes, podVolume{
    						podName:        volumetypes.UniquePodName(podName),
    						volumeSpecName: volumeName,
    						volumePath:     volumePath,
    						pluginName:     unescapePluginName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. pkg/volume/csi/expander.go

    		secrets:           nodeExpandSecrets,
    	}
    
    	if !fsVolume {
    		// for block volumes the volumePath in CSI NodeExpandvolumeRequest is
    		// basically same as DevicePath because block devices are not mounted and hence
    		// DeviceMountPath does not get populated in resizeOptions.DeviceMountPath
    		opts.volumePath = resizeOptions.DevicePath
    		opts.fsType = fsTypeBlockName
    	}
    
    	if pv.Spec.AccessModes != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 17:23:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_volumes.go

    	volumePaths, err := kl.getPodVolumePathListFromDisk(uid)
    	if err != nil {
    		orphanVolumeErrors = append(orphanVolumeErrors, fmt.Errorf("orphaned pod %q found, but error occurred during reading volume dir from disk: %v", uid, err))
    		return orphanVolumeErrors
    	}
    	if len(volumePaths) > 0 {
    		for _, volumePath := range volumePaths {
    			if err := syscall.Rmdir(volumePath); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_client_test.go

    		name       string
    		volID      string
    		volumePath string
    		newSize    resource.Quantity
    		mustFail   bool
    		err        error
    	}{
    		{
    			name:       "with all correct values",
    			volID:      "vol-abcde",
    			volumePath: "/foo/bar",
    			newSize:    resource.MustParse("10Gi"),
    			mustFail:   false,
    		},
    		{
    			name:       "with missing volume-id",
    			volumePath: "/foo/bar",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  6. pkg/kubelet/util/util_unsupported.go

    limitations under the License.
    */
    
    package util
    
    import (
    	"fmt"
    	"time"
    )
    
    // LockAndCheckSubPath empty implementation
    func LockAndCheckSubPath(volumePath, subPath string) ([]uintptr, error) {
    	return []uintptr{}, nil
    }
    
    // UnlockPath empty implementation
    func UnlockPath(fileHandles []uintptr) {
    }
    
    // LocalEndpoint empty implementation
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_getters.go

    	for _, volumePath := range volumePaths {
    		isNotMount, err := kl.mounter.IsLikelyNotMountPoint(volumePath)
    		if err != nil {
    			return mountedVolumes, fmt.Errorf("fail to check mount point %q: %v", volumePath, err)
    		}
    		if !isNotMount {
    			mountedVolumes = append(mountedVolumes, volumePath)
    		}
    	}
    	return mountedVolumes, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PersistentVolume.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PersistentVolume.yaml

      volumeMode: volumeModeValue
      vsphereVolume:
        fsType: fsTypeValue
        storagePolicyID: storagePolicyIDValue
        storagePolicyName: storagePolicyNameValue
        volumePath: volumePathValue
    status:
      lastPhaseTransitionTime: "2004-01-01T01:01:01Z"
      message: messageValue
      phase: phaseValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/storage.k8s.io.v1alpha1.VolumeAttachment.yaml

          volumeMode: volumeModeValue
          vsphereVolume:
            fsType: fsTypeValue
            storagePolicyID: storagePolicyIDValue
            storagePolicyName: storagePolicyNameValue
            volumePath: volumePathValue
        persistentVolumeName: persistentVolumeNameValue
    status:
      attachError:
        message: messageValue
        time: "2001-01-01T01:01:01Z"
      attached: true
      attachmentMetadata:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top