- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for filterTopologySpreadConstraints (0.26 sec)
-
pkg/scheduler/framework/plugins/podtopologyspread/common.go
func (pl *PodTopologySpread) buildDefaultConstraints(p *v1.Pod, action v1.UnsatisfiableConstraintAction) ([]topologySpreadConstraint, error) { constraints, err := pl.filterTopologySpreadConstraints(pl.defaultConstraints, p.Labels, action) if err != nil || len(constraints) == 0 { return nil, err } selector := helper.DefaultSelector(p, pl.services, pl.replicationCtrls, pl.replicaSets, pl.statefulSets)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 10:42:29 UTC 2024 - 5.6K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/scoring.go
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
if len(pod.Spec.TopologySpreadConstraints) > 0 { // We have feature gating in APIServer to strip the spec // so don't need to re-check feature gate, just check length of Constraints. constraints, err = pl.filterTopologySpreadConstraints( pod.Spec.TopologySpreadConstraints, pod.Labels, v1.DoNotSchedule, ) if err != nil { return nil, fmt.Errorf("obtaining pod's hard topology spread constraints: %w", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 16 14:13:06 UTC 2024 - 12.7K bytes - Viewed (0)