Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DoNotScheduleTaintsFilterFunc (0.76 sec)

  1. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go

    	if originalNode != nil {
    		_, wasUntolerated = v1helper.FindMatchingUntoleratedTaint(originalNode.Spec.Taints, pod.Spec.Tolerations, helper.DoNotScheduleTaintsFilterFunc())
    	}
    
    	_, isUntolerated := v1helper.FindMatchingUntoleratedTaint(modifiedNode.Spec.Taints, pod.Spec.Tolerations, helper.DoNotScheduleTaintsFilterFunc())
    
    	if wasUntolerated && !isUntolerated {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/podtopologyspread/common.go

    			return false
    		}
    	}
    
    	if tsc.NodeTaintsPolicy == v1.NodeInclusionPolicyHonor {
    		if _, untolerated := v1helper.FindMatchingUntoleratedTaint(node.Spec.Taints, pod.Spec.Tolerations, helper.DoNotScheduleTaintsFilterFunc()); untolerated {
    			return false
    		}
    	}
    	return true
    }
    
    // buildDefaultConstraints builds the constraints for a pod using
    // .DefaultConstraints and the selectors from the services, replication
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top