Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PodsWithRequiredAntiAffinity (0.2 sec)

  1. 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