Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for topologyValue (0.11 sec)

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

    		// Iterate over topology pairs to get any of the pods being affected by
    		// the scheduled pod anti-affinity terms
    		for topologyKey, topologyValue := range nodeInfo.Node().Labels {
    			tp := topologyPair{key: topologyKey, value: topologyValue}
    			if state.existingAntiAffinityCounts[tp] > 0 {
    				return false
    			}
    		}
    	}
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    // structure needs to be revisited.
    // Fields are exported for comparison during testing.
    type criticalPaths [2]struct {
    	// TopologyValue denotes the topology value mapping to topology key.
    	TopologyValue string
    	// MatchNum denotes the number of matching pods.
    	MatchNum int
    }
    
    func newCriticalPaths() *criticalPaths {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 12.4K bytes
    - Viewed (1)
Back to top