- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for NodeReady (0.27 sec)
-
pkg/scheduler/eventhandlers_test.go
NewConditions: []v1.NodeCondition{}, }, { Name: "condition status changed", Changed: true, OldConditions: []v1.NodeCondition{{Type: v1.NodeReady, Status: v1.ConditionFalse}}, NewConditions: []v1.NodeCondition{{Type: v1.NodeReady, Status: v1.ConditionTrue}}, }, } { t.Run(test.Name, func(t *testing.T) { oldNode := &v1.Node{Status: v1.NodeStatus{Conditions: test.OldConditions}}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 10 14:38:54 UTC 2024 - 21.5K bytes - Viewed (0) -
pkg/util/node/node.go
} return nodeIP } // 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: Fri Jan 27 23:24:38 UTC 2023 - 4.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/health.go
func getNotReadyNodes(nodes []v1.Node) []string { var notReadyNodes []string for _, node := range nodes { for _, condition := range node.Status.Conditions { if condition.Type == v1.NodeReady && condition.Status != v1.ConditionTrue { notReadyNodes = append(notReadyNodes, node.ObjectMeta.Name) } } } return notReadyNodes
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 09:18:02 UTC 2024 - 8.8K bytes - Viewed (0) -
pkg/kubemark/controller.go
if !ok { return } for _, condition := range node.Status.Conditions { // Delete node if it is in unready state, and it has been // explicitly marked for deletion. if condition.Type == apiv1.NodeReady && condition.Status != apiv1.ConditionTrue { kubemarkCluster.nodesToDeleteLock.Lock() defer kubemarkCluster.nodesToDeleteLock.Unlock() if kubemarkCluster.nodesToDelete[node.Name] {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 17 23:02:17 UTC 2020 - 14.1K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K bytes - Viewed (0) -
pkg/kubelet/nodestatus/setters_test.go
return &v1.NodeCondition{ Type: v1.NodeReady, Status: v1.ConditionTrue, Reason: "KubeletReady", Message: message, LastTransitionTime: metav1.NewTime(transition), LastHeartbeatTime: metav1.NewTime(heartbeat), } } return &v1.NodeCondition{ Type: v1.NodeReady, Status: v1.ConditionFalse,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 21:47:24 UTC 2024 - 76.1K bytes - Viewed (0) -
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) -
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) -
pkg/controller/endpointslice/endpointslice_controller_test.go
} if nodeInfo.ready != nil { status := v1.ConditionFalse if *nodeInfo.ready { status = v1.ConditionTrue } node.Status.Conditions = []v1.NodeCondition{{ Type: v1.NodeReady, Status: status, }} } if nodeInfo.cpu != nil { node.Status.Allocatable = v1.ResourceList{ v1.ResourceCPU: *nodeInfo.cpu, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
pkg/controller/podgc/gc_controller_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 08:16:48 UTC 2024 - 29K bytes - Viewed (0)