- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 868 for Unmount (0.13 sec)
-
pkg/volume/util/subpath/subpath_linux.go
samePath, err := checkSubPathFileEqual(subpath, bindPathTarget) if err != nil { return false, "", fmt.Errorf("error checking subpath mount info for %s: %s", bindPathTarget, err) } if !samePath { // It's already mounted but not what we want, unmount it if err = mounter.Unmount(bindPathTarget); err != nil { return false, "", fmt.Errorf("error ummounting %s: %s", bindPathTarget, err) } } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 12 14:09:11 UTC 2022 - 21.4K bytes - Viewed (0) -
cmd/kube-controller-manager/app/options/attachdetachcontroller.go
fs.BoolVar(&o.DisableForceDetachOnTimeout, "disable-force-detach-on-timeout", false, "Prevent force detaching volumes based on maximum unmount time and node status. If this flag is set to true, the non-graceful node shutdown feature must be used to recover from node failure. See https://k8s.io/docs/storage-disable-force-detach-on-timeout/.") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 22 18:31:52 UTC 2024 - 2.8K bytes - Viewed (0) -
src/syscall/exec_linux_test.go
const mountNotSupported = "mount is not supported: " // Output prefix indicating a test skip. if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" { dir := flag.Args()[0] err := syscall.Mount("none", dir, "proc", 0, "") if testenv.SyscallIsNotSupported(err) { fmt.Print(mountNotSupported, err) } else if err != nil { fmt.Fprintf(os.Stderr, "unshare: mount %s: %v\n", dir, err) os.Exit(2) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 20.6K bytes - Viewed (0) -
pkg/volume/csi/csi_test.go
} // The reason for separate volume hosts here is because the attach/detach behavior is exclusive to the // CSI plugin running in the AttachDetachController. Similarly, the mount/unmount behavior is exclusive // to the CSI plugin running in the Kubelet. kubeletVolumeHost := volumetest.NewFakeKubeletVolumeHostWithCSINodeName(t, tmpDir, client, ProbeVolumePlugins(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 15:55:13 UTC 2022 - 21.1K bytes - Viewed (0) -
pkg/volume/local/local.go
var _ volume.Unmounter = &localVolumeUnmounter{} // TearDown unmounts the bind mount func (u *localVolumeUnmounter) TearDown() error { return u.TearDownAt(u.GetPath()) } // TearDownAt unmounts the bind mount func (u *localVolumeUnmounter) TearDownAt(dir string) error { klog.V(4).Infof("Unmounting volume %q at path %q\n", u.volName, dir) return mount.CleanupMountPoint(dir, u.mounter, true) /* extensiveMountPointCheck = true */
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/volumemanager/reconciler/reconstruct_test.go
// Assert if len(rcInstance.volumesFailedReconstruction) != 0 { t.Errorf("Expected volumesFailedReconstruction to be empty, got %+v", rcInstance.volumesFailedReconstruction) } // Unmount runs in a go routine, wait for its finish var lastErr error err = retryWithExponentialBackOff(testOperationBackOffDuration, func() (bool, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.8K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/actual_state_of_world.go
// In particular, the Unmount method uses spec.Name() as the volumeSpecName // in the mount path: // /var/lib/kubelet/pods/{podUID}/volumes/{escapeQualifiedPluginName}/{volumeSpecName}/ spec *volume.Spec // pluginName is the Unescaped Qualified name of the volume plugin used to // attach and mount this volume. It is stored separately in case the full
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 45.8K bytes - Viewed (0) -
pkg/volume/volume.go
GetAttributes() Attributes } // Unmounter interface provides methods to cleanup/unmount the volumes. type Unmounter interface { Volume // TearDown unmounts the volume from a self-determined directory and // removes traces of the SetUp procedure. TearDown() error // TearDown unmounts the volume from the specified directory and // removes traces of the SetUp procedure. TearDownAt(dir string) error
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/kubelet/util/swap/swap_util.go
klog.ErrorS(err, "error removing test tmpfs dir", "mount path", mountPath) } }() err = mounter.MountSensitiveWithoutSystemd("tmpfs", mountPath, "tmpfs", []string{TmpfsNoswapOption}, nil) if err != nil { klog.InfoS("error mounting tmpfs with the noswap option. Assuming not supported", "error", err) return false } err = mounter.Unmount(mountPath) if err != nil {
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/kubelet/volumemanager/reconciler/reconciler_test.go
} // Populates desiredStateOfWorld cache with one volume/pod. // Enables controllerAttachDetachEnabled. // Calls Run() // Verifies one mount call is made and no unmount calls. // Deletes volume/pod from desired state of world. // Verifies one unmount call is made. // Verifies there are no attach/detach calls made. func Test_Run_Positive_VolumeUnmountControllerAttachEnabled(t *testing.T) { // Arrange
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 75.4K bytes - Viewed (0)