Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for NodeStatus (0.3 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/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)
  7. 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)
  8. 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)
  9. pilot/pkg/serviceregistry/kube/controller/endpoint_builder_test.go

    					NodeRegionLabelGA:          loc.Region,
    					NodeZoneLabel:              loc.Zone,
    					label.TopologySubzone.Name: loc.SubZone,
    				}},
    				Spec:   v1.NodeSpec{},
    				Status: v1.NodeStatus{},
    			})
    			nodes := kclient.New[*v1.Node](fc)
    			fc.RunAndWait(test.NewStop(t))
    			cc := &Controller{
    				nodes:       nodes,
    				meshWatcher: mesh.NewFixedWatcher(mesh.DefaultMeshConfig()),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    	// Arrange
    	intreeToCSITranslator := csitrans.New()
    	node := &v1.Node{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: string(nodeName),
    		},
    		Spec: v1.NodeSpec{},
    		Status: v1.NodeStatus{
    			VolumesAttached: []v1.AttachedVolume{
    				{
    					Name:       v1.UniqueVolumeName(fmt.Sprintf("fake-plugin/%s", "pd.csi.storage.gke.io-fake-device1")),
    					DevicePath: "fake/path",
    				},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top