Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AppendReason (0.72 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/volume_binding.go

    		// not bound. Pod will be moved to active/backoff queues once these
    		// claims are bound by PV controller.
    		status := framework.NewStatus(framework.UnschedulableAndUnresolvable)
    		status.AppendReason("pod has unbound immediate PersistentVolumeClaims")
    		return nil, status
    	}
    	// Attempt to reduce down the number of nodes to consider in subsequent scheduling stages if pod has bound claims.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/interface.go

    func (s *Status) Reasons() []string {
    	if s.err != nil {
    		return append([]string{s.err.Error()}, s.reasons...)
    	}
    	return s.reasons
    }
    
    // AppendReason appends given reason to the Status.
    func (s *Status) AppendReason(reason string) {
    	s.reasons = append(s.reasons, reason)
    }
    
    // IsSuccess returns true if and only if "Status" is nil or Code is "Success".
    func (s *Status) IsSuccess() bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  3. pkg/scheduler/schedule_one.go

    				continue
    			}
    			if _, found := statuses[failedNodeName]; !found {
    				statuses[failedNodeName] = framework.NewStatus(framework.Unschedulable, failedMsg)
    			} else {
    				statuses[failedNodeName].AppendReason(failedMsg)
    			}
    		}
    
    		feasibleNodes = feasibleList
    	}
    	return feasibleNodes, nil
    }
    
    // prioritizeNodes prioritizes the nodes by running the score plugins,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
Back to top