Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NodeReady (0.19 sec)

  1. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    	node, err := bootstrapClient.CoreV1().Nodes().Get(context.TODO(), nodeName, metav1.GetOptions{})
    	if err != nil && !apierrors.IsNotFound(err) {
    		return errors.Wrapf(err, "cannot get Node %q", nodeName)
    	}
    	for _, cond := range node.Status.Conditions {
    		if cond.Type == v1.NodeReady && cond.Status == v1.ConditionTrue {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. pkg/kubelet/nodestatus/setters.go

    		// NOTE(aaronlevy): NodeReady condition needs to be the last in the list of node conditions.
    		// This is due to an issue with version skewed kubelet and master components.
    		// ref: https://github.com/kubernetes/kubernetes/issues/16961
    		currentTime := metav1.NewTime(nowFunc())
    		newNodeReadyCondition := v1.NodeCondition{
    			Type:              v1.NodeReady,
    			Status:            v1.ConditionTrue,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_node_status.go

    		return false
    	}
    
    	readyIdx, nodeReady := nodeutil.GetNodeCondition(&node.Status, v1.NodeReady)
    	if readyIdx == -1 {
    		klog.ErrorS(nil, "Node does not have NodeReady condition", "node", node)
    		return false
    	}
    
    	if nodeReady.Status == v1.ConditionFalse {
    		return false
    	}
    
    	klog.InfoS("Fast updating node status as it just became ready")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  4. pkg/controller/endpointslice/endpointslice_controller.go

    	}
    	return endpointSlice
    }
    
    // isNodeReady returns true if a node is ready; false otherwise.
    func isNodeReady(node *v1.Node) bool {
    	for _, c := range node.Status.Conditions {
    		if c.Type == v1.NodeReady {
    			return c.Status == v1.ConditionTrue
    		}
    	}
    	return false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. pkg/controller/podgc/gc_controller_test.go

    					Spec: v1.NodeSpec{
    						Taints: node.taints,
    					},
    					Status: v1.NodeStatus{
    						Conditions: []v1.NodeCondition{
    							{
    								Type:   v1.NodeReady,
    								Status: node.readyCondition,
    							},
    						},
    					},
    				})
    			}
    			pods := make([]*v1.Pod, 0, len(test.pods))
    			for _, pod := range test.pods {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
Back to top