Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for notReadyNodes (0.1 sec)

  1. 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)
  2. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    	readyNodes := 0
    	notReadyNodes := 0
    	for i := range nodeReadyConditions {
    		if nodeReadyConditions[i] != nil && nodeReadyConditions[i].Status == v1.ConditionTrue {
    			readyNodes++
    		} else {
    			notReadyNodes++
    		}
    	}
    	switch {
    	case readyNodes == 0 && notReadyNodes > 0:
    		return notReadyNodes, stateFullDisruption
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top