Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for podWithAffinity (0.3 sec)

  1. pkg/scheduler/framework/types.go

    // AddPodInfo adds pod information to this NodeInfo.
    // Consider using this instead of AddPod if a PodInfo is already computed.
    func (n *NodeInfo) AddPodInfo(podInfo *PodInfo) {
    	n.Pods = append(n.Pods, podInfo)
    	if podWithAffinity(podInfo.Pod) {
    		n.PodsWithAffinity = append(n.PodsWithAffinity, podInfo)
    	}
    	if podWithRequiredAntiAffinity(podInfo.Pod) {
    		n.PodsWithRequiredAntiAffinity = append(n.PodsWithRequiredAntiAffinity, podInfo)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
Back to top