Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for volumePath (0.26 sec)

  1. pkg/kubelet/kubelet_volumes_linux_test.go

    			prepareFunc: func(kubelet *Kubelet) error {
    				podDir := kubelet.getPodDir("pod1uid")
    				volumePath := filepath.Join(podDir, "volumes/plugin/name")
    				if err := os.MkdirAll(volumePath, 0750); err != nil {
    					return err
    				}
    				return os.WriteFile(filepath.Join(volumePath, "test.txt"), []byte("test1"), 0640)
    			},
    			validateFunc: func(kubelet *Kubelet) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  2. pkg/volume/nfs/nfs_test.go

    	}
    	if mounter == nil {
    		t.Errorf("Got a nil Mounter")
    	}
    	volumePath := mounter.GetPath()
    	expectedPath := filepath.Join(tmpDir, "pods/poduid/volumes/kubernetes.io~nfs/vol1")
    	if volumePath != expectedPath {
    		t.Errorf("Unexpected path, expected %q, got: %q", expectedPath, volumePath)
    	}
    	if err := mounter.SetUp(volume.MounterArgs{}); err != nil {
    		t.Errorf("Expected success, got: %v", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 9K 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/volume/util/subpath/subpath.go

    	// pod volume directory.
    	CleanSubPaths(poodDir string, volumeName string) error
    
    	// PrepareSafeSubpath does everything that's necessary to prepare a subPath
    	// that's 1) inside given volumePath and 2) immutable after this call.
    	//
    	// newHostPath - location of prepared subPath. It should be used instead of
    	// hostName when running the container.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 27 02:59:53 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  5. 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)
  6. staging/src/k8s.io/api/testdata/HEAD/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: Tue Oct 31 03:26:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PersistentVolume.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 7.7K 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/HEAD/core.v1.PersistentVolume.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. 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)
Back to top