Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for selfMatchNum (0.09 sec)

  1. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    			continue
    		}
    
    		selfMatchNum := 0
    		if c.Selector.Matches(podLabelSet) {
    			selfMatchNum = 1
    		}
    
    		pair := topologyPair{key: tpKey, value: tpVal}
    		matchNum := 0
    		if tpCount, ok := s.TpPairToMatchNum[pair]; ok {
    			matchNum = tpCount
    		}
    		skew := matchNum + selfMatchNum - minMatchNum
    		if skew > int(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)
Back to top