mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	kubeadm: add missing taint for upgrade health check
This is part of the "master" -> "control-plane" rename that we missed. It's not critical for 1.21 as the "control-plane" taint is still not added to CP nodes, but it would be best to add the toleration preemptively like the KEP planned.
This commit is contained in:
		@@ -126,7 +126,11 @@ func createJob(client clientset.Interface, cfg *kubeadmapi.ClusterConfiguration)
 | 
			
		||||
					},
 | 
			
		||||
					Tolerations: []v1.Toleration{
 | 
			
		||||
						{
 | 
			
		||||
							Key:    "node-role.kubernetes.io/master",
 | 
			
		||||
							Key:    constants.LabelNodeRoleOldControlPlane,
 | 
			
		||||
							Effect: v1.TaintEffectNoSchedule,
 | 
			
		||||
						},
 | 
			
		||||
						{
 | 
			
		||||
							Key:    constants.LabelNodeRoleControlPlane,
 | 
			
		||||
							Effect: v1.TaintEffectNoSchedule,
 | 
			
		||||
						},
 | 
			
		||||
					},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user