- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for cleanOrphanVolumes (0.26 sec)
-
pkg/kubelet/volumemanager/reconciler/reconciler.go
if readyToUnmount { // Ensure devices that should be detached/unmounted are detached/unmounted. rc.unmountDetachDevices() // Clean up any orphan volumes that failed reconstruction. rc.cleanOrphanVolumes() } if len(rc.volumesNeedUpdateFromNodeStatus) != 0 { rc.updateReconstructedFromNodeStatus() } if len(rc.volumesNeedUpdateFromNodeStatus) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:23:12 UTC 2024 - 2.1K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconstruct.go
} } } // cleanOrphanVolumes tries to clean up all volumes that failed reconstruction. func (rc *reconciler) cleanOrphanVolumes() { if len(rc.volumesFailedReconstruction) == 0 { return } for _, volume := range rc.volumesFailedReconstruction {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:23:12 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconstruct_test.go
} rcInstance.actualStateOfWorld.MarkVolumeAsAttached(logger, volumeName, volumeSpec, nodeName, "") } // Act rcInstance.cleanOrphanVolumes() // Assert if len(rcInstance.volumesFailedReconstruction) != 0 { t.Errorf("Expected volumesFailedReconstruction to be empty, got %+v", rcInstance.volumesFailedReconstruction) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.8K bytes - Viewed (0)