Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SetNodeStatusUpdateNeeded (0.24 sec)

  1. pkg/controller/volume/attachdetach/statusupdater/node_status_updater.go

    		// back to true to indicate this node status needs to be updated again.
    		logger.V(2).Info("Error retrieving nodes from node lister", "err", err)
    		nsu.actualStateOfWorld.SetNodeStatusUpdateNeeded(logger, nodeName)
    		return err
    	}
    
    	err = nsu.updateNodeStatus(logger, nodeName, nodeObj, attachedVolumes)
    	if errors.IsNotFound(err) {
    		// If node does not exist, its status cannot be updated.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. pkg/controller/volume/attachdetach/cache/actual_state_of_world.go

    	// SetNodeStatusUpdateNeeded sets statusUpdateNeeded for the specified
    	// node to true indicating the AttachedVolume field in the Node's Status
    	// object needs to be updated by the node updater again.
    	// If the specified node does not exist in the nodesToUpdateStatusFor list,
    	// log the error and return
    	SetNodeStatusUpdateNeeded(logger klog.Logger, nodeName types.NodeName)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go

    }
    
    // Test_SetNodeStatusUpdateNeededError expects the map nodesToUpdateStatusFor
    // to be empty if the SetNodeStatusUpdateNeeded is called on a node that
    // does not exist in the actual state of the world
    func Test_SetNodeStatusUpdateNeededError(t *testing.T) {
    	// Arrange
    	volumePluginMgr, _ := volumetesting.GetTestVolumePluginMgr(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 66.1K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/attach_detach_controller.go

    	// This is to workaround the case when a node add causes to wipe out
    	// the attached volumes field. This function ensures that we sync with
    	// the actual status.
    	adc.actualStateOfWorld.SetNodeStatusUpdateNeeded(logger, nodeName)
    }
    
    func (adc *attachDetachController) nodeUpdate(logger klog.Logger, oldObj, newObj interface{}) {
    	node, ok := newObj.(*v1.Node)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.4.md

    * Node status updater should SetNodeStatusUpdateNeeded if it fails to update status ([#34368](https://github.com/kubernetes/kubernetes/pull/34368), [@jingxu97](https://github.com/jingxu97))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 133.5K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.5.md

    * Kubelet flag '--mounter-path' renamed to '--experimental-mounter-path' ([#35646](https://github.com/kubernetes/kubernetes/pull/35646), [@vishh](https://github.com/vishh))
    * Node status updater should SetNodeStatusUpdateNeeded if it fails to update status ([#34368](https://github.com/kubernetes/kubernetes/pull/34368), [@jingxu97](https://github.com/jingxu97))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 136.4K bytes
    - Viewed (0)
Back to top