Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for patchNodeStatus (0.16 sec)

  1. pkg/kubelet/kubelet_node_status.go

    	return node, changed
    }
    
    // patchNodeStatus patches node on the API server based on originalNode.
    // It returns any potential error, or an updatedNode and refreshes the state of kubelet when successful.
    func (kl *Kubelet) patchNodeStatus(originalNode, node *v1.Node) (*v1.Node, error) {
    	// Patch the current status on the API server
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  2. pkg/controller/volume/attachdetach/statusupdater/node_status_updater.go

    	node := nodeObj.DeepCopy()
    	node.Status.VolumesAttached = attachedVolumes
    	_, patchBytes, err := nodeutil.PatchNodeStatus(nsu.kubeClient.CoreV1(), nodeName, nodeObj, node)
    	if err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. pkg/volume/csi/nodeinfomanager/nodeinfomanager.go

    		if err != nil {
    			return err
    		}
    		node = newNode
    		needUpdate = needUpdate || updated
    	}
    
    	if needUpdate {
    		// PatchNodeStatus can update both node's status and labels or annotations
    		// Updating status by directly updating node does not work
    		_, _, updateErr := nodeutil.PatchNodeStatus(kubeClient.CoreV1(), types.NodeName(node.Name), originalNode, node)
    		return updateErr
    	}
    
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top