Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 923 for Mounts (0.1 sec)

  1. pkg/volume/iscsi/disk_manager.go

    }
    
    // utility to mount a disk based filesystem
    // globalPDPath: global mount path like, /var/lib/kubelet/plugins/kubernetes.io/iscsi/{ifaceName}/{portal-some_iqn-lun-lun_id}
    // volPath: pod volume dir path like, /var/lib/kubelet/pods/{podUID}/volumes/kubernetes.io~iscsi/{volumeName}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. pkg/kubelet/util/swap/swap_util.go

    	utilkernel "k8s.io/kubernetes/pkg/util/kernel"
    	"k8s.io/mount-utils"
    )
    
    var (
    	tmpfsNoswapOptionSupported        bool
    	tmpfsNoswapOptionAvailabilityOnce sync.Once
    	swapOn                            bool
    	swapOnErr                         error
    	swapOnOnce                        sync.Once
    )
    
    const TmpfsNoswapOption = "noswap"
    
    func IsTmpfsNoswapOptionSupported(mounter mount.Interface, mountPath string) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 10:07:06 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. pkg/volume/util/hostutil/fake_hostutil.go

    	return true, nil
    }
    
    // GetDeviceNameFromMount given a mount point, find the volume id
    func (hu *FakeHostUtil) GetDeviceNameFromMount(mounter mount.Interface, mountPath, pluginMountDir string) (string, error) {
    	return getDeviceNameFromMount(mounter, mountPath, pluginMountDir)
    }
    
    // MakeRShared checks if path is shared and bind-mounts it as rshared if needed.
    // No-op for testing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 13:32:38 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. 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)
  5. pkg/volume/portworx/portworx.go

    }
    
    // SetUp attaches the disk and bind mounts to the volume path.
    func (b *portworxVolumeMounter) SetUp(mounterArgs volume.MounterArgs) error {
    	return b.SetUpAt(b.GetPath(), mounterArgs)
    }
    
    // SetUpAt attaches the disk and bind mounts to the volume path.
    func (b *portworxVolumeMounter) SetUpAt(dir string, mounterArgs volume.MounterArgs) error {
    	notMnt, err := b.mounter.IsLikelyNotMountPoint(dir)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. pkg/volume/util/hostutil/hostutil.go

    	// to get the global mount path within its plugin directory.
    	// TODO: Remove this method once the rbd and vsphere plugins are removed from in-tree.
    	GetDeviceNameFromMount(mounter mount.Interface, mountPath, pluginMountDir string) (string, error)
    	// MakeRShared checks that given path is on a mount with 'rshared' mount
    	// propagation. If not, it bind-mounts the path as rshared.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/pod_container_manager_linux.go

    func (m *podContainerManagerImpl) GetAllPodsFromCgroups() (map[types.UID]CgroupName, error) {
    	// Map for storing all the found pods on the disk
    	foundPods := make(map[types.UID]CgroupName)
    	qosContainersList := [3]CgroupName{m.qosContainersInfo.BestEffort, m.qosContainersInfo.Burstable, m.qosContainersInfo.Guaranteed}
    	// Scan through all the subsystem mounts
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 16:38:36 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  8. pkg/volume/util/volumepathhandler/volume_path_handler.go

    		if file.Mode()&os.ModeDevice == os.ModeDevice {
    			klog.Warningf("Warning: Map skipped because bind mount already exist on the path: %v", linkPath)
    			return nil
    		}
    
    		klog.Warningf("Warning: file %s is already exist but not mounted, skip creating file", linkPath)
    	}
    
    	// Bind mount file
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  9. pkg/volume/flexvolume/util.go

    	}
    
    	return !notMnt, nil
    }
    
    // Mounts the device at the given path.
    // It is expected that prepareForMount has been called before.
    func doMount(mounter mount.Interface, devicePath, deviceMountPath, fsType string, options []string) error {
    	err := mounter.MountSensitiveWithoutSystemd(devicePath, deviceMountPath, fsType, options, nil)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 14 13:58:56 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  10. cmd/kube-proxy/app/conntrack.go

    }
    
    // isSysFSWritable checks /proc/mounts to see whether sysfs is 'rw' or not.
    func (rct realConntracker) isSysFSWritable(ctx context.Context) (bool, error) {
    	logger := klog.FromContext(ctx)
    	const permWritable = "rw"
    	const sysfsDevice = "sysfs"
    	m := mount.New("" /* default mount path */)
    	mountPoints, err := m.List()
    	if err != nil {
    		logger.Error(err, "Failed to list mount points")
    		return false, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top