Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for updateNodeStatus (0.21 sec)

  1. pkg/kubelet/kubelet_node_status_test.go

    						{Type: v1.NodeHostName, Address: testKubeletHostname},
    					},
    					Images: expectedImageList,
    				},
    			}
    
    			kubelet.updateRuntimeUp()
    			assert.NoError(t, kubelet.updateNodeStatus(ctx))
    			actions := kubeClient.Actions()
    			require.Len(t, actions, 2)
    			require.True(t, actions[1].Matches("patch", "nodes"))
    			require.Equal(t, actions[1].GetSubresource(), "status")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_node_status.go

    		kl.registerWithAPIServer()
    	}
    	if err := kl.updateNodeStatus(ctx); err != nil {
    		klog.ErrorS(err, "Unable to update node status")
    	}
    }
    
    // updateNodeStatus updates node status to master with retries if there is any
    // change or enough time passed from the last sync.
    func (kl *Kubelet) updateNodeStatus(ctx context.Context) error {
    	klog.V(5).InfoS("Updating node status")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    	reconciliationLoopFunc(ctx)
    	// Right before detach operation is performed, the volume will be first removed from being reported
    	// as attached on node status (RemoveVolumeFromReportAsAttached). After UpdateNodeStatus operation which is expected to fail,
    	// controller then added the volume back as attached.
    	// verifyVolumeReportedAsAttachedToNode will check volume is in the list of volume attached that needs to be updated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
Back to top