- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SpreadConstraint (0.14 sec)
-
pkg/scheduler/framework/plugins/podtopologyspread/filtering.go
matchNum := 0 if tpCount, ok := s.TpPairToMatchNum[pair]; ok { matchNum = tpCount } skew := matchNum + selfMatchNum - minMatchNum if skew > int(c.MaxSkew) { logger.V(5).Info("Node failed spreadConstraint: matchNum + selfMatchNum - minMatchNum > maxSkew", "node", klog.KObj(node), "topologyKey", tpKey, "matchNum", matchNum, "selfMatchNum", selfMatchNum, "minMatchNum", minMatchNum, "maxSkew", c.MaxSkew)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 10:42:29 UTC 2024 - 12.4K bytes - Viewed (0) -
pkg/scheduler/testing/wrappers.go
labelSelector := MakeLabelSelector().NotIn(labelKey, vals).Obj() p.PodAntiAffinity(topologyKey, labelSelector, kind) return p } // SpreadConstraint constructs a TopologySpreadConstraint object and injects // into the inner pod.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 42.1K bytes - Viewed (0)