Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for containerPath1 (0.55 sec)

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

    		},
    		{
    			name: "subpath-with-files",
    			prepare: func(base string) ([]mount.MountPoint, error) {
    				containerPath := filepath.Join(base, containerSubPathDirectoryName, testVol, "container1")
    				if err := os.MkdirAll(containerPath, defaultPerm); err != nil {
    					return nil, err
    				}
    
    				file0 := filepath.Join(containerPath, "0")
    				if err := ioutil.WriteFile(file0, []byte{}, defaultPerm); err != nil {
    					return nil, err
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 16:52:55 UTC 2021
    - 37.3K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/devicemanager/manager_test.go

    					ContainerPath: "/container_dir1/file1",
    					HostPath:      "host_dir1/file1",
    					ReadOnly:      true,
    				})
    
    			case "dev2":
    				resp.Devices = append(resp.Devices, &pluginapi.DeviceSpec{
    					ContainerPath: "/dev/ccc",
    					HostPath:      "/dev/ccc",
    					Permissions:   "mrw",
    				})
    
    				resp.Mounts = append(resp.Mounts, &pluginapi.Mount{
    					ContainerPath: "/container_dir1/file2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    				Devices: []kubecontainer.DeviceInfo{
    					{PathOnHost: "/dev/r1", PathInContainer: "/dev/r1", Permissions: "mrw"},
    				},
    				Mounts: []kubecontainer.Mount{
    					{Name: "/home/lib1", HostPath: "/home/lib1", ContainerPath: "/home/lib1", ReadOnly: true},
    				},
    				Envs: []kubecontainer.EnvVar{
    					{Name: "ENV1", Value: "VALUE1"},
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	for idx := range opts.Mounts {
    		v := opts.Mounts[idx]
    		selinuxRelabel := v.SELinuxRelabel && selinux.GetEnabled()
    		mount := &runtimeapi.Mount{
    			HostPath:          v.HostPath,
    			ContainerPath:     v.ContainerPath,
    			Readonly:          v.ReadOnly,
    			SelinuxRelabel:    selinuxRelabel,
    			Propagation:       v.Propagation,
    			RecursiveReadOnly: v.RecursiveReadOnly,
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_pods.go

    		}
    
    		containerPath := mount.MountPath
    		// IsAbs returns false for UNC path/SMB shares/named pipes in Windows. So check for those specifically and skip MakeAbsolutePath
    		if !volumeutil.IsWindowsUNCPath(runtime.GOOS, containerPath) && !utilfs.IsAbs(containerPath) {
    			containerPath = volumeutil.MakeAbsolutePath(runtime.GOOS, containerPath)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  6. pkg/kubelet/container/runtime.go

    	// Name of the volume mount.
    	// TODO(yifan): Remove this field, as this is not representing the unique name of the mount,
    	// but the volume name only.
    	Name string
    	// Path of the mount within the container.
    	ContainerPath string
    	// Path of the mount on the host.
    	HostPath string
    	// Whether the mount is read-only.
    	ReadOnly bool
    	// Whether the mount is recursive read-only.
    	// Must not be true if ReadOnly is false.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top