Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for NodeReady (0.16 sec)

  1. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    		Conditions: []v1.NodeCondition{
    			{
    				Type:               v1.NodeReady,
    				Status:             v1.ConditionTrue,
    				LastHeartbeatTime:  metav1.NewTime(fakeNow.Add(timeToPass)),
    				LastTransitionTime: fakeNow,
    			},
    		},
    	}
    	unhealthyNodeNewStatus := v1.NodeStatus{
    		Conditions: []v1.NodeCondition{
    			{
    				Type:   v1.NodeReady,
    				Status: v1.ConditionUnknown,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_node_status_test.go

    		assert.Equal(t, v1.NodeReady, updatedNode.Status.Conditions[lastIndex].Type, "NodeReady should be the last condition")
    		assert.NotEmpty(t, updatedNode.Status.Conditions[lastIndex].Message)
    
    		updatedNode.Status.Conditions[lastIndex].Message = ""
    		expectedNode.Status.Conditions[lastIndex] = v1.NodeCondition{
    			Type:               v1.NodeReady,
    			Status:             status,
    			Reason:             reason,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  3. pkg/controller/daemon/daemon_controller_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name:      name,
    			Labels:    label,
    			Namespace: metav1.NamespaceNone,
    		},
    		Status: v1.NodeStatus{
    			Conditions: []v1.NodeCondition{
    				{Type: v1.NodeReady, Status: v1.ConditionTrue},
    			},
    			Allocatable: v1.ResourceList{
    				v1.ResourcePods: resource.MustParse("100"),
    			},
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  4. pkg/printers/internalversion/printers_test.go

    				Status: api.NodeStatus{Conditions: []api.NodeCondition{
    					{Type: api.NodeReady, Status: api.ConditionTrue},
    					{Type: api.NodeReady, Status: api.ConditionTrue}}},
    			},
    			// Columns: Name, Status, Roles, Age, KubeletVersion
    			expected: []metav1.TableRow{{Cells: []interface{}{"foo3", "Ready", "<none>", "<unknown>", ""}}},
    		},
    		{
    			node: api.Node{
    				ObjectMeta: metav1.ObjectMeta{Name: "foo4"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  5. pkg/kubelet/eviction/helpers_test.go

    		item   v1.NodeConditionType
    		result bool
    	}{
    		"has-condition": {
    			inputs: []v1.NodeConditionType{v1.NodeReady, v1.NodeDiskPressure, v1.NodeMemoryPressure},
    			item:   v1.NodeMemoryPressure,
    			result: true,
    		},
    		"does-not-have-condition": {
    			inputs: []v1.NodeConditionType{v1.NodeReady, v1.NodeDiskPressure},
    			item:   v1.NodeMemoryPressure,
    			result: false,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_test.go

    		nodes: []*v1.Node{
    			{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: string(kubelet.nodeName),
    				},
    				Status: v1.NodeStatus{
    					Conditions: []v1.NodeCondition{
    						{
    							Type:    v1.NodeReady,
    							Status:  v1.ConditionTrue,
    							Reason:  "Ready",
    							Message: "Node ready",
    						},
    					},
    					Addresses: []v1.NodeAddress{
    						{
    							Type:    v1.NodeInternalIP,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers.go

    	row := metav1.TableRow{
    		Object: runtime.RawExtension{Object: obj},
    	}
    
    	conditionMap := make(map[api.NodeConditionType]*api.NodeCondition)
    	NodeAllConditions := []api.NodeConditionType{api.NodeReady}
    	for i := range obj.Status.Conditions {
    		cond := obj.Status.Conditions[i]
    		conditionMap[cond.Type] = &cond
    	}
    	var status []string
    	for _, validCondition := range NodeAllConditions {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet.go

    	} else {
    		// Set nil if the container runtime network is ready.
    		kl.runtimeState.setNetworkState(nil)
    	}
    	// information in RuntimeReady condition will be propagated to NodeReady condition.
    	runtimeReady := s.GetRuntimeCondition(kubecontainer.RuntimeReady)
    	// If RuntimeReady is not set or is false, report an error.
    	if runtimeReady == nil || !runtimeReady.Status {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top