Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 74 for volumePath (0.21 sec)

  1. pkg/volume/util/subpath/subpath_linux.go

    func safeOpenSubPath(mounter mount.Interface, subpath Subpath) (int, error) {
    	if !mount.PathWithinBase(subpath.Path, subpath.VolumePath) {
    		return -1, fmt.Errorf("subpath %q not within volume path %q", subpath.Path, subpath.VolumePath)
    	}
    	fd, err := doSafeOpen(subpath.Path, subpath.VolumePath)
    	if err != nil {
    		return -1, fmt.Errorf("error opening subpath %v: %v", subpath.Path, err)
    	}
    	return fd, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 14:09:11 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_client.go

    	if err != nil {
    		return opts.newSize, err
    	}
    	defer closer.Close()
    
    	req := &csipbv1.NodeExpandVolumeRequest{
    		VolumeId:      opts.volumeID,
    		VolumePath:    opts.volumePath,
    		CapacityRange: &csipbv1.CapacityRange{RequiredBytes: opts.newSize.Value()},
    		VolumeCapability: &csipbv1.VolumeCapability{
    			AccessMode: &csipbv1.VolumeCapability_AccessMode{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 20 10:15:36 UTC 2022
    - 22.1K bytes
    - Viewed (0)
  3. 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)
  4. pkg/volume/util/operationexecutor/operation_executor.go

    		reconstructed, err := plugin.ConstructVolumeSpec(volumeSpecName, volumePath)
    		if err != nil {
    			return volume.ReconstructedVolume{}, err
    		}
    		return reconstructed, nil
    	}
    
    	// Block Volume case
    	// Create volumeSpec from mount path
    	klog.V(5).Infof("Starting operationExecutor.ReconstructVolume for block volume on pod %q", podName)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. pkg/volume/emptydir/empty_dir_test.go

    	basePath, err := utiltesting.MkTmpdir("emptydir_volume_test")
    	if err != nil {
    		t.Fatalf("can't make a temp rootdir: %v", err)
    	}
    	defer os.RemoveAll(basePath)
    
    	var (
    		volumePath  = filepath.Join(basePath, "pods/poduid/volumes/kubernetes.io~empty-dir/test-volume")
    		metadataDir = filepath.Join(basePath, "pods/poduid/plugins/kubernetes.io~empty-dir/test-volume")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. pkg/volume/plugins.go

    	// ConstructVolumeSpec constructs a volume spec based on the given volume name
    	// and volumePath. The spec may have incomplete information due to limited
    	// information from input. This function is used by volume manager to reconstruct
    	// volume spec by reading the volume directories from disk
    	ConstructVolumeSpec(volumeName, volumePath string) (ReconstructedVolume, error)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  7. pkg/volume/util/subpath/subpath_linux_test.go

    		}
    
    		fm := setupFakeMounter(mounts)
    
    		subpath := Subpath{
    			VolumeMountIndex: testSubpath,
    			Path:             subPath,
    			VolumeName:       testVol,
    			VolumePath:       volPath,
    			PodDir:           filepath.Join(base, "pod0"),
    			ContainerName:    testContainer,
    		}
    
    		_, subpathMount := getTestPaths(base)
    		bindPathTarget, err := doBindSubPath(fm, subpath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 16:52:55 UTC 2021
    - 37.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.yaml

              volumeNamespace: volumeNamespaceValue
            vsphereVolume:
              fsType: fsTypeValue
              storagePolicyID: storagePolicyIDValue
              storagePolicyName: storagePolicyNameValue
              volumePath: volumePathValue
    status:
      availableReplicas: 5
      conditions:
      - lastTransitionTime: "2003-01-01T01:01:01Z"
        message: messageValue
        reason: reasonValue
        status: statusValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PodTemplate.yaml

            volumeNamespace: volumeNamespaceValue
          vsphereVolume:
            fsType: fsTypeValue
            storagePolicyID: storagePolicyIDValue
            storagePolicyName: storagePolicyNameValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/extensions.v1beta1.ReplicaSet.yaml

              volumeNamespace: volumeNamespaceValue
            vsphereVolume:
              fsType: fsTypeValue
              storagePolicyID: storagePolicyIDValue
              storagePolicyName: storagePolicyNameValue
              volumePath: volumePathValue
    status:
      availableReplicas: 5
      conditions:
      - lastTransitionTime: "2003-01-01T01:01:01Z"
        message: messageValue
        reason: reasonValue
        status: statusValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
Back to top