Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for reconstructVolumes (0.16 sec)

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

    		return false
    	}
    	return true
    }
    
    // reconstructVolumes tries to reconstruct the actual state of world by scanning all pods' volume
    // directories from the disk. For the volumes that cannot support or fail reconstruction, it will
    // put the volumes to volumesFailedReconstruction to be cleaned up later when DesiredStateOfWorld
    // is populated.
    func (rc *reconciler) reconstructVolumes() {
    	// Get volumes information by reading the pod's directory
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/reconciler/reconciler.go

    limitations under the License.
    */
    
    package reconciler
    
    import (
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/klog/v2"
    )
    
    func (rc *reconciler) Run(stopCh <-chan struct{}) {
    	rc.reconstructVolumes()
    	klog.InfoS("Reconciler: start to sync state")
    	wait.Until(rc.reconcile, rc.loopSleepDuration, stopCh)
    }
    
    func (rc *reconciler) reconcile() {
    	readyToUnmount := rc.readyToUnmount()
    	if readyToUnmount {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top