mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	fix a comment inconsistency in Daemonset Controller
This commit is contained in:
		@@ -1503,7 +1503,7 @@ func checkNodeFitness(pod *v1.Pod, meta algorithm.PredicateMetadata, nodeInfo *s
 | 
			
		||||
func Predicates(pod *v1.Pod, nodeInfo *schedulercache.NodeInfo) (bool, []algorithm.PredicateFailureReason, error) {
 | 
			
		||||
	var predicateFails []algorithm.PredicateFailureReason
 | 
			
		||||
 | 
			
		||||
	// If ScheduleDaemonSetPods is enabled, only check nodeSelector and nodeAffinity.
 | 
			
		||||
	// If ScheduleDaemonSetPods is enabled, only check nodeSelector, nodeAffinity and toleration/taint match.
 | 
			
		||||
	if utilfeature.DefaultFeatureGate.Enabled(features.ScheduleDaemonSetPods) {
 | 
			
		||||
		fit, reasons, err := checkNodeFitness(pod, nil, nodeInfo)
 | 
			
		||||
		if err != nil {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user