Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for countIntolerableTaintsPreferNoSchedule (0.35 sec)

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

    	if !ok {
    		return nil, fmt.Errorf("%+v convert to tainttoleration.preScoreState error", c)
    	}
    	return s, nil
    }
    
    // CountIntolerableTaintsPreferNoSchedule gives the count of intolerable taints of a pod with effect PreferNoSchedule
    func countIntolerableTaintsPreferNoSchedule(taints []v1.Taint, tolerations []v1.Toleration) (intolerableTaints int) {
    	for _, taint := range taints {
    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