Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 256 for unmounted (0.61 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/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)
  6. 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)
  7. pkg/volume/csi/csi_mounter.go

    	// so we still need to remove the target_path here if it's unmounted and
    	// empty.
    	if err := removeMountDir(c.plugin, dir); err != nil {
    		return errors.New(log("Unmounter.TearDownAt failed to clean mount dir [%s]: %v", dir, err))
    	}
    	klog.V(4).Infof(log("Unmounter.TearDownAt successfully unmounted dir [%s]", dir))
    
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 30 10:47:59 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. pkg/kubelet/volumemanager/reconciler/reconstruct_test.go

    				t.Errorf("Error waiting for volumes to get unmounted: %s: %s", err, lastErr)
    			}
    		})
    	}
    }
    
    func verifyTearDownCalls(plugin *volumetesting.FakeVolumePlugin, expected int) error {
    	unmounters := plugin.GetUnmounters()
    	if len(unmounters) == 0 && (expected == 0) {
    		return nil
    	}
    	actualCallCount := 0
    	for _, unmounter := range unmounters {
    		actualCallCount = unmounter.GetTearDownCallCount()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/cache/desired_state_of_world.go

    		// Handling two volumes with the same name and different SELinux context
    		// as two *different* volumes here. Because if a volume is mounted with
    		// an old SELinux context, it must be unmounted first and then mounted again
    		// with the new context.
    		//
    		// This will happen when a pod A with context alpha_t runs and is being
    		// terminated by kubelet and its volumes are being torn down, while a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  10. pkg/volume/util/operationexecutor/operation_executor.go

    // state of the world cache after successful mount/unmount.
    type ActualStateOfWorldMounterUpdater interface {
    	// Marks the specified volume as mounted to the specified pod
    	MarkVolumeAsMounted(markVolumeOpts MarkVolumeOpts) error
    
    	// Marks the specified volume as unmounted from the specified pod
    	MarkVolumeAsUnmounted(podName volumetypes.UniquePodName, volumeName v1.UniqueVolumeName) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top