Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 35 of 35 for ActualStateOfworld (0.32 sec)

  1. pkg/volume/util/operationexecutor/node_expander.go

    		// volume expansion should not be retried on this node but
    		// expansion operation should not block mounting
    		if volumetypes.IsFailedPreconditionError(resizeErr) {
    			ne.actualStateOfWorld.MarkForInUseExpansionError(ne.vmt.VolumeName)
    			klog.Errorf(ne.vmt.GenerateErrorDetailed("MountVolume.NodeExapndVolume failed with %v", resizeErr).Error())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:30:35 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    			expectedDetachCallCount)
    	}
    }
    
    func waitForAttachedToNodesCount(
    	t *testing.T,
    	expectedNodeCount int,
    	volumeName v1.UniqueVolumeName,
    	asw cache.ActualStateOfWorld) {
    
    	err := retryWithExponentialBackOff(
    		time.Duration(5*time.Millisecond),
    		func() (bool, error) {
    			count := len(asw.GetNodesForAttachedVolume(volumeName))
    			if count == expectedNodeCount {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/statusupdater/node_status_updater_test.go

    // the initial environment has 2 nodes with no volumes attached
    // and adds one volume to attach to each node to the actual state of the world
    func setupNodeStatusUpdate(logger klog.Logger, t *testing.T) (cache.ActualStateOfWorld, *fake.Clientset, NodeStatusUpdater) {
    	testNode1 := corev1.Node{
    		TypeMeta: metav1.TypeMeta{
    			Kind:       "Node",
    			APIVersion: "v1",
    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "testnode-1",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/reconciler/reconstruct_common.go

    	// TODO: Currently cleanupMounts only includes UnmountVolume operation. In the next PR, we will add
    	// to unmount both volume and device in the same routine.
    	err := rc.operationExecutor.UnmountVolume(mountedVolume, rc.actualStateOfWorld, rc.kubeletPodsDir)
    	if err != nil {
    		metrics.ForceCleanedFailedVolumeOperationsErrorsTotal.Inc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go

    func Test_updateNodeStatusUpdateNeeded(t *testing.T) {
    	// Arrange
    	volumePluginMgr, _ := volumetesting.GetTestVolumePluginMgr(t)
    	asw := &actualStateOfWorld{
    		attachedVolumes:        make(map[v1.UniqueVolumeName]attachedVolume),
    		nodesToUpdateStatusFor: make(map[types.NodeName]nodeToUpdateStatusFor),
    		volumePluginMgr:        volumePluginMgr,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 66.1K bytes
    - Viewed (0)
Back to top