Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PodsWithRequiredAntiAffinity (0.41 sec)

  1. pkg/scheduler/framework/types.go

    			}
    		}
    	}
    	if len(n.PodsWithAffinity) > 0 {
    		clone.PodsWithAffinity = append([]*PodInfo(nil), n.PodsWithAffinity...)
    	}
    	if len(n.PodsWithRequiredAntiAffinity) > 0 {
    		clone.PodsWithRequiredAntiAffinity = append([]*PodInfo(nil), n.PodsWithRequiredAntiAffinity...)
    	}
    	if len(n.ImageStates) > 0 {
    		state := make(map[string]*ImageStateSummary, len(n.ImageStates))
    		for imageName, imageState := range n.ImageStates {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/cache/cache.go

    			// way around.
    			if (len(existing.PodsWithAffinity) > 0) != (len(clone.PodsWithAffinity) > 0) {
    				updateNodesHavePodsWithAffinity = true
    			}
    			if (len(existing.PodsWithRequiredAntiAffinity) > 0) != (len(clone.PodsWithRequiredAntiAffinity) > 0) {
    				updateNodesHavePodsWithRequiredAntiAffinity = true
    			}
    			if !updateUsedPVCSet {
    				if len(existing.PVCRefCounts) != len(clone.PVCRefCounts) {
    					updateUsedPVCSet = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 09:56:48 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/cache/snapshot.go

    	for _, v := range nodeInfoMap {
    		nodeInfoList = append(nodeInfoList, v)
    		if len(v.PodsWithAffinity) > 0 {
    			havePodsWithAffinityNodeInfoList = append(havePodsWithAffinityNodeInfoList, v)
    		}
    		if len(v.PodsWithRequiredAntiAffinity) > 0 {
    			havePodsWithRequiredAntiAffinityNodeInfoList = append(havePodsWithRequiredAntiAffinityNodeInfoList, v)
    		}
    	}
    
    	s := NewEmptySnapshot()
    	s.nodeInfoMap = nodeInfoMap
    	s.nodeInfoList = nodeInfoList
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top