Fix the legacy of #74479

This commit is contained in:
xichengliudui 2019-02-20 17:09:30 -05:00
parent 493b261057
commit fb7bc5c4ea

View File

@ -1038,7 +1038,7 @@ func addCommonChecks(execer utilsexec.Interface, cfg kubeadmapi.CommonConfigurat
HostnameCheck{nodeName: cfg.GetNodeName()},
KubeletVersionCheck{KubernetesVersion: cfg.GetKubernetesVersion(), exec: execer},
ServiceCheck{Service: "kubelet", CheckIfActive: false},
PortOpenCheck{port: 10250})
PortOpenCheck{port: ports.KubeletPort})
return checks
}