Merge pull request #99904 from neolit123/1.21-health-check-master-taint

kubeadm: add missing toleration for upgrade health check
This commit is contained in:
Kubernetes Prow Robot
2021-03-07 03:45:42 -08:00
committed by GitHub

View File

@@ -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,
},
},