mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 18:28:13 +00:00 
			
		
		
		
	Allow toleration updates via pod spec.
This commit is contained in:
		| @@ -1161,7 +1161,7 @@ func PodToleratesNodeTaints(pod *v1.Pod, meta interface{}, nodeInfo *schedulerca | ||||
| 	} | ||||
|  | ||||
| 	if v1.TolerationsTolerateTaintsWithFilter(pod.Spec.Tolerations, taints, func(t *v1.Taint) bool { | ||||
| 		// PodToleratesNodeTaints is only interested in NoSchedule taints. | ||||
| 		// PodToleratesNodeTaints is only interested in NoSchedule and NoExecute taints. | ||||
| 		return t.Effect == v1.TaintEffectNoSchedule || t.Effect == v1.TaintEffectNoExecute | ||||
| 	}) { | ||||
| 		return true, nil, nil | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Avesh Agarwal
					Avesh Agarwal