Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for NodeStatus (0.15 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodestatus.go

    	RuntimeHandlers []NodeRuntimeHandlerApplyConfiguration `json:"runtimeHandlers,omitempty"`
    }
    
    // NodeStatusApplyConfiguration constructs an declarative configuration of the NodeStatus type for use with
    // apply.
    func NodeStatus() *NodeStatusApplyConfiguration {
    	return &NodeStatusApplyConfiguration{}
    }
    
    // WithCapacity sets the Capacity field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:06:39 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_node_status_test.go

    			originalStatus: &v1.NodeStatus{Conditions: []v1.NodeCondition{}},
    			status:         &v1.NodeStatus{Conditions: []v1.NodeCondition{}},
    			expectChange:   false,
    		},
    		{
    			name: "Node status does not change",
    			originalStatus: &v1.NodeStatus{
    				Conditions: []v1.NodeCondition{readyCondition, memoryPressureCondition},
    			},
    			status: &v1.NodeStatus{
    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. cmd/kubeadm/app/phases/upgrade/versiongetter_test.go

    				Items: []v1.Node{
    					{
    						ObjectMeta: metav1.ObjectMeta{Name: "node1"},
    						Status: v1.NodeStatus{
    							NodeInfo: v1.NodeSystemInfo{
    								KubeletVersion: "v1.28.0",
    							},
    						},
    					},
    					{
    						ObjectMeta: metav1.ObjectMeta{Name: "node2"},
    						Status: v1.NodeStatus{
    							NodeInfo: v1.NodeSystemInfo{
    								KubeletVersion: "v1.28.1",
    							},
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    	timeToPass := 60 * time.Minute
    	healthyNodeNewStatus := v1.NodeStatus{
    		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,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/imagelocality/image_locality_test.go

    			},
    		},
    	}
    
    	node25010 := v1.NodeStatus{
    		Images: []v1.ContainerImage{
    			{
    				Names: []string{
    					"gcr.io/250:latest",
    				},
    				SizeBytes: int64(250 * mb),
    			},
    			{
    				Names: []string{
    					"gcr.io/10:latest",
    					"gcr.io/10:v1",
    				},
    				SizeBytes: int64(10 * mb),
    			},
    		},
    	}
    
    	node60040900 := v1.NodeStatus{
    		Images: []v1.ContainerImage{
    			{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 06:17:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. pkg/registry/core/node/strategy_test.go

    			},
    			Status: api.NodeStatus{
    				Capacity: api.ResourceList{
    					api.ResourceName("hugepages-2Mi"): resource.MustParse("0"),
    					api.ResourceName("hugepages-1Gi"): resource.MustParse("2Gi"),
    				},
    			},
    		}, api.Node{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: "hugepage-change-values-from-0",
    			},
    			Status: api.NodeStatus{
    				Capacity: api.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  7. pkg/util/node/node_test.go

    			name: "case that returns true",
    			Node: &v1.Node{
    				Status: v1.NodeStatus{
    					Conditions: []v1.NodeCondition{
    						{
    							Type:   v1.NodeReady,
    							Status: v1.ConditionTrue,
    						},
    					},
    				},
    			},
    			expect: true,
    		},
    		{
    			name: "case that returns false",
    			Node: &v1.Node{
    				Status: v1.NodeStatus{
    					Conditions: []v1.NodeCondition{
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 27 23:24:38 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  8. pkg/kubelet/lifecycle/predicate_test.go

    						Requests: requests,
    						Limits:   limits,
    					},
    				},
    			},
    		},
    	}
    }
    
    func makeTestNode(allocatable v1.ResourceList) *v1.Node {
    	return &v1.Node{
    		Status: v1.NodeStatus{
    			Allocatable: allocatable,
    		},
    	}
    }
    
    var (
    	extendedResourceA = v1.ResourceName("example.com/aaa")
    	hugePageResourceA = v1helper.HugePageResourceName(resource.MustParse("2Mi"))
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 23:13:50 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. pkg/kubelet/nodestatus/setters_test.go

    			node: &v1.Node{
    				Status: v1.NodeStatus{
    					Capacity: v1.ResourceList{
    						"negative-resource": *resource.NewQuantity(-1, resource.BinarySI),
    					},
    				},
    			},
    			maxPods: 110,
    			machineInfo: &cadvisorapiv1.MachineInfo{
    				NumCores:       2,
    				MemoryCapacity: 1024,
    			},
    			expectNode: &v1.Node{
    				Status: v1.NodeStatus{
    					Capacity: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_node_status.go

    		nodestatus.VersionInfo(kl.cadvisor.VersionInfo, kl.containerRuntime.Type, kl.containerRuntime.Version),
    		nodestatus.DaemonEndpoints(kl.daemonEndpoints),
    		nodestatus.Images(kl.nodeStatusMaxImages, kl.imageManager.GetImageList),
    		nodestatus.GoRuntime(),
    		nodestatus.RuntimeHandlers(kl.runtimeState.runtimeHandlers),
    	)
    
    	setters = append(setters,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
Back to top