Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 529 for unmounted (0.18 sec)

  1. pkg/kubelet/volumemanager/reconciler/reconciler.go

    	// resizing.
    	rc.mountOrAttachVolumes()
    
    	// Unmount volumes only when DSW and ASW are fully populated to prevent unmounting a volume
    	// that is still needed, but it did not reach DSW yet.
    	if readyToUnmount {
    		// Ensure devices that should be detached/unmounted are detached/unmounted.
    		rc.unmountDetachDevices()
    
    		// Clean up any orphan volumes that failed reconstruction.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/reset/unmount.go

    	"k8s.io/klog/v2"
    )
    
    // unmountKubeletDirectory is a NOOP on all but linux.
    func unmountKubeletDirectory(kubeletRunDirectory string, flags []string) error {
    	klog.Warning("Cannot unmount filesystems on current OS, all mounted file systems will need to be manually unmounted")
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 10:58:44 UTC 2024
    - 922 bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/volume_manager.go

    	// pod and blocks until they are all attached and mounted (reflected in
    	// actual state of the world).
    	// An error is returned if all volumes are not attached and mounted within
    	// the duration defined in podAttachAndMountTimeout.
    	WaitForAttachAndMount(ctx context.Context, pod *v1.Pod) error
    
    	// WaitForUnmount processes the volumes referenced in the specified
    	// pod and blocks until they are all unmounted (reflected in the actual
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/reconciler/reconciler_common.go

    }
    
    func (rc *reconciler) unmountVolumes() {
    	// Ensure volumes that should be unmounted are unmounted.
    	for _, mountedVolume := range rc.actualStateOfWorld.GetAllMountedVolumes() {
    		if !rc.desiredStateOfWorld.PodExistsInVolume(mountedVolume.PodName, mountedVolume.VolumeName, mountedVolume.SELinuxMountContext) {
    			// Volume is mounted, unmount it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  5. pkg/volume/fc/attacher.go

    	// There is no need to DetachDisk if this is the case (and DetachDisk will throw an error if we attempt)
    	if devName == "" {
    		return nil
    	}
    
    	unMounter := volumeSpecToUnmounter(detacher.mounter, detacher.host)
    	// The device is unmounted now. If UnmountDevice was retried, GetDeviceNameFromMount
    	// won't find any mount and won't return DetachDisk below.
    	// Therefore implement our own retry mechanism here.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 31 12:02:51 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  6. pkg/volume/flexvolume/detacher.go

    	if err != nil {
    		if mount.IsCorruptedMnt(err) {
    			notmnt = false // Corrupted error is assumed to be mounted.
    		} else {
    			return err
    		}
    	}
    
    	if notmnt {
    		klog.Warningf("Warning: Path: %v already unmounted", deviceMountPath)
    	} else {
    		call := d.plugin.NewDriverCall(unmountDeviceCmd)
    		call.Append(deviceMountPath)
    
    		_, err := call.Run()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 14 13:58:56 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_volumes_test.go

    		t.Fatalf("expected volume unmount to wait for no volumes: %v", actual)
    	}
    
    	// Verify volumes unmounted
    	podVolumes = kubelet.volumeManager.GetMountedVolumesForPod(
    		util.GetUniquePodName(pod))
    
    	assert.Len(t, podVolumes, 0,
    		"Expected volumes to be unmounted and detached. But some volumes are still mounted: %#v", podVolumes)
    
    	assert.NoError(t, volumetest.VerifyTearDownCallCount(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  8. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    // Deletes the first node/volume/pod tuple from desiredStateOfWorld cache without first marking the node/volume as unmounted.
    // Verifies there is one detach call and no (new) attach calls.
    // Deletes the second node/volume/pod tuple from desiredStateOfWorld cache without first marking the node/volume as unmounted.
    // Verifies there are two detach calls and no (new) attach calls.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/cache/actual_state_of_world.go

    	//   - VolumeMountUncertain: means volume for pod may not be mounted, but it must be unmounted
    	volumeMountStateForPod operationexecutor.VolumeMountState
    
    	// seLinuxMountContext is the context with that the volume is mounted to Pod directory
    	// (via -o context=XYZ mount option). If nil, the volume is not mounted. If "", the volume is
    	// mounted without "-o context=".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  10. pkg/volume/util/recyclerclient/recycler_client_test.go

    				newEvent(v1.EventTypeWarning, "Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod \"default\"/\"recycler-for-podRecyclerFailure\". list of unattached/unmounted"),
    				newPodEvent(watch.Modified, "podRecyclerFailure", v1.PodRunning, ""),
    				newPodEvent(watch.Modified, "podRecyclerFailure", v1.PodFailed, "Pod was active on the node longer than specified deadline"),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 8.5K bytes
    - Viewed (0)
Back to top