Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getAllTolerationPreferNoSchedule (0.26 sec)

  1. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go

    func (s *preScoreState) Clone() framework.StateData {
    	return s
    }
    
    // getAllTolerationEffectPreferNoSchedule gets the list of all Tolerations with Effect PreferNoSchedule or with no effect.
    func getAllTolerationPreferNoSchedule(tolerations []v1.Toleration) (tolerationList []v1.Toleration) {
    	for _, toleration := range tolerations {
    		// Empty effect means all effects which includes PreferNoSchedule, so we need to collect it as well.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top