Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readyToUnmount (0.14 sec)

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

    	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 {
    		// Unmounts are triggered before mounts so that a volume that was
    		// referenced by a pod that was deleted and is now referenced by another
    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. pkg/kubelet/volumemanager/reconciler/reconstruct.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/volume/util/operationexecutor"
    )
    
    // readyToUnmount returns true when reconciler can start unmounting volumes.
    func (rc *reconciler) readyToUnmount() bool {
    	// During kubelet startup, all volumes present on disk are added as uncertain to ASW.
    	// Allow unmount only when DSW is fully populated to prevent unmounting volumes that
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top