- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for containerPath1 (0.49 sec)
-
pkg/kubelet/cm/devicemanager/pod_devices.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 27 02:10:25 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_linux_test.go
}, expectedMounts: []kubecontainer.Mount{ { Name: "disk", ContainerPath: "/etc/hosts", HostPath: "/mnt/disk", ReadOnly: false, SELinuxRelabel: false, Propagation: runtimeapi.MountPropagation_PROPAGATION_HOST_TO_CONTAINER, }, { Name: "disk", ContainerPath: "/mnt/path3", HostPath: "/mnt/disk", ReadOnly: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 18:00:59 UTC 2024 - 11.3K bytes - Viewed (0) -
pkg/kubelet/kubelet_getters.go
containerName := containerDir.Name() containerPath := filepath.Join(volumePluginPath, containerName) // Switch to ReadDirNoStat at the subPathIndex level to prevent issues with stat'ing // mount points that may not be responsive subPaths, err := utilpath.ReadDirNoStat(containerPath) if err != nil { return volumes, fmt.Errorf("could not read directory %s: %v", containerPath, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 00:48:07 UTC 2024 - 17.9K bytes - Viewed (0) -
cmd/kubeadm/app/phases/controlplane/volumes.go
} } func (c *controlPlaneHostPathMounts) NewHostPathMount(component, mountName, hostPath, containerPath string, readOnly bool, hostPathType *v1.HostPathType) { vol := staticpodutil.NewVolume(mountName, hostPath, hostPathType) c.addComponentVolume(component, vol) volMount := staticpodutil.NewVolumeMount(mountName, containerPath, readOnly) c.addComponentVolumeMount(component, volMount) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 09:33:18 UTC 2024 - 11.3K bytes - Viewed (0) -
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) -
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) -
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)