- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 197 for Mounts (0.14 sec)
-
pkg/volume/fc/disk_manager.go
return err } // Perform a bind mount to the full path to allow duplicate mounts of the same disk. options := []string{"bind"} if b.readOnly { options = append(options, "ro") } mountOptions := util.JoinMountOptions(options, b.mountOptions) err = mounter.MountSensitiveWithoutSystemd(globalPDPath, volPath, "", mountOptions, nil) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 19:34:37 UTC 2023 - 3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
pkg/volume/util/nested_volumes_test.go
{MountPath: "/dir/nested2/double", Name: "vol8"}, {MountPath: "/dir/nested2", Name: "vol3"}, }, }, }, }, }, }, { name: "Multiple vol1 mounts Pod", err: false, expected: sets.New[string]("nested", "nested2"), volname: "vol1", pod: v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Namespace: testNamespace, UID: testPodUID,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 5.9K bytes - Viewed (0) -
common/scripts/setup_env.sh
unset -f "${f}" done # Set conditional host mounts CONDITIONAL_HOST_MOUNTS="${CONDITIONAL_HOST_MOUNTS:-} " container_kubeconfig='' # docker conditional host mount (needed for make docker push) if [[ -d "${HOME}/.docker" ]]; then CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${HOME}/.docker,destination=/config/.docker,readonly " fi
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 14:37:27 UTC 2024 - 8.3K bytes - Viewed (0) -
pkg/volume/flexvolume/plugin.go
if err != nil { return "", fmt.Errorf("GetVolumeName failed from getDeviceMountPath: %s", err) } mountsDir := filepath.Join(plugin.host.GetPluginDir(flexVolumePluginName), plugin.driverName, "mounts") return filepath.Join(mountsDir, volumeName), nil } func (plugin *flexVolumePlugin) RequiresFSResize() bool { return plugin.capabilities.RequiresFSResize
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.7K bytes - Viewed (0) -
pilot/cmd/pilot-agent/options/options.go
kubeAppProberNameVar = env.Register(status.KubeAppProberEnvName, "", "") ProxyConfigEnv = env.Register( "PROXY_CONFIG", "", "The proxy configuration. This will be set by the injection - gateways will use file mounts.", ).Get() serviceAccountVar = env.Register("SERVICE_ACCOUNT", "", "Name of service account") clusterIDVar = env.Register("ISTIO_META_CLUSTER_ID", "", "")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jan 09 19:21:50 UTC 2024 - 8.1K bytes - Viewed (0)