- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for buildDefaultConstraints (0.24 sec)
-
pkg/scheduler/framework/plugins/podtopologyspread/scoring.go
pod.Labels, v1.ScheduleAnyway, ) if err != nil { return fmt.Errorf("obtaining pod's soft topology spread constraints: %w", err) } } else { s.Constraints, err = pl.buildDefaultConstraints(pod, v1.ScheduleAnyway) if err != nil { return fmt.Errorf("setting default soft topology spread constraints: %w", err) } } if len(s.Constraints) == 0 { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 10.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/plugin.go
pod.Labels, v1.DoNotSchedule, ) if err != nil { return nil, fmt.Errorf("obtaining pod's hard topology spread constraints: %w", err) } } else { constraints, err = pl.buildDefaultConstraints(pod, v1.DoNotSchedule) if err != nil { return nil, fmt.Errorf("setting default hard topology spread constraints: %w", err) } } return constraints, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 16 14:13:06 UTC 2024 - 12.7K bytes - Viewed (0)