- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 468 for Mounts (0.18 sec)
-
pkg/volume/util/hostutil/hostutil_linux.go
} // FindMountInfo returns the mount info on the given path. func (hu *HostUtil) FindMountInfo(path string) (mount.MountInfo, error) { return findMountInfo(path, procMountInfoPath) } // isShared returns true, if given path is on a mount point that has shared // mount propagation. func isShared(mount string, mountInfoPath string) (bool, error) { info, err := findMountInfo(mount, mountInfoPath) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 23 08:36:44 UTC 2023 - 10K bytes - Viewed (0) -
pkg/volume/local/local.go
fs := v1.PersistentVolumeFilesystem // The main purpose of reconstructed volume is to clean unused mount points // and directories. // For filesystem volume with directory source, no global mount path is // needed to clean. Empty path is ok. // For filesystem volume with block source, we should resolve to its device // path if global mount path exists. var path string mounter := plugin.host.GetMounter(plugin.GetPluginName())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 22.2K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/pod_devices_test.go
as.ElementsMatch(tc.expected.CDIDevices, opts.CDIDevices) as.ElementsMatch(tc.expected.Devices, opts.Devices) as.ElementsMatch(tc.expected.Envs, opts.Envs) as.ElementsMatch(tc.expected.Mounts, opts.Mounts) }) }
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/volume/volume.go
SELinuxLabel string } // Mounter interface provides methods to set up/mount the volume. type Mounter interface { // Uses Interface to provide the path for Docker binds. Volume // SetUp prepares and mounts/unpacks the volume to a // self-determined directory path. The mount point and its // content should be owned by `fsUser` or 'fsGroup' so that it can be
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 11.8K bytes - Viewed (0) -
pkg/volume/util/fsquota/quota_linux.go
// Breaking this up helps with testing func detectMountpointInternal(m mount.Interface, path string) (string, error) { for path != "" && path != "/" { // per k8s.io/mount-utils/mount_linux this detects all but // a bind mount from one part of a mount to another. // For our purposes that's fine; we simply want the "true" // mount point // // IsNotMountPoint proved much more troublesome; it actually
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 07 08:07:51 UTC 2023 - 14.1K bytes - Viewed (0) -
pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go
if dswp.podPreviouslyProcessed(uniquePodName) { return } allVolumesAdded := true mounts, devices, seLinuxContainerContexts := util.GetPodVolumeNames(pod) // Process volume spec for each volume defined in pod for _, podVolume := range pod.Spec.Volumes { if !mounts.Has(podVolume.Name) && !devices.Has(podVolume.Name) { // Volume is not used in the pod, ignore it.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 23.8K bytes - Viewed (0) -
pkg/volume/portworx/portworx_util.go
// // This is required to force certain operations (mount, unmount, detach, attach) to // go to the volume host instead of the k8s service which might route it to any host. This pertains to how // Portworx mounts and attaches a volume to the running container. The node getting these requests needs to // see the pod container mounts (specifically /var/lib/kubelet/pods/<pod_id>)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 16 11:12:06 UTC 2022 - 12.2K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_linux.go
// doCleanSubPath tears down the single subpath bind mount func doCleanSubPath(mounter mount.Interface, fullContainerDirPath, subPathIndex string) error { // process /var/lib/kubelet/pods/<uid>/volume-subpaths/<volume>/<container name>/<subPathName> klog.V(4).Infof("Cleaning up subpath mounts for subpath %v", subPathIndex) fullSubPath := filepath.Join(fullContainerDirPath, subPathIndex)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 12 14:09:11 UTC 2022 - 21.4K bytes - Viewed (0) -
tools/istio-iptables/pkg/dependencies/implementation_linux.go
// First, unshare the mount namespace. This allows us to create custom mounts without impacting the host if err := unix.Unshare(unix.CLONE_NEWNS); err != nil { return fmt.Errorf("failed to unshare to new mount namespace: %v", err) } if err := n.Set(); err != nil { return fmt.Errorf("failed to reset network namespace: %v", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 12 20:49:10 UTC 2024 - 12K bytes - Viewed (0) -
plugin/pkg/admission/serviceaccount/admission.go
ReadOnly: true, MountPath: DefaultAPITokenMountPath, } // Ensure every container mounts the APISecret volume needsTokenVolume := false for i, container := range pod.Spec.InitContainers { existingContainerMount := false for _, volumeMount := range container.VolumeMounts { // Existing mounts at the default mount path prevent mounting of the API token if volumeMount.MountPath == DefaultAPITokenMountPath {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 17:49:30 UTC 2024 - 18.6K bytes - Viewed (0)