- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for MountedByNode (0.24 sec)
-
pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go
attachedVolume.DevicePath == expectedDevicePath && attachedVolume.MountedByNode == expectedMountedByNode && attachedVolume.DetachRequestedTime.IsZero() == !expectNonZeroDetachRequestedTime { return } } t.Fatalf( "attachedVolumes (%v) should contain the volume/node combo %q/%q with DevicePath=%q MountedByNode=%v and NonZeroDetachRequestedTime=%v. It does not.", attachedVolumes,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 07:35:17 UTC 2024 - 66.1K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/cache/actual_state_of_world.go
// AttachedVolume represents a volume that is attached to a node. type AttachedVolume struct { operationexecutor.AttachedVolume // MountedByNode indicates that this volume has been mounted by the node and // is unsafe to detach. // The value is set and unset by SetVolumesMountedByNode(...). MountedByNode bool // DetachRequestedTime is used to capture the desire to detach this volume.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 07:35:17 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/attach_detach_controller_test.go
} inUse := inUseVolumes.Has(attachedVolume.Name) mounted := allAttachedVolumes[attachedVolume.Name].MountedByNode if mounted != inUse { t.Fatalf("Node %s, volume %s MountedByNode %v unexpected", nodeName, attachedVolume.Name, mounted) } } } pods, err := adc.podLister.List(labels.Everything()) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 24.2K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/reconciler/reconciler.go
} // Check whether volume is still mounted. Skip detach if it is still mounted unless we have // decided to force detach or the node has `node.kubernetes.io/out-of-service` taint. if attachedVolume.MountedByNode && !forceDetach && !hasOutOfServiceTaint { logger.V(5).Info("Cannot detach volume because it is still mounted", "node", klog.KRef("", string(attachedVolume.NodeName)), "volumeName", attachedVolume.VolumeName) continue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 22 21:02:38 UTC 2024 - 21.1K bytes - Viewed (0)