• Rafael Fernández López's avatar
    Fix race condition when joining nodes · becb2b75
    Rafael Fernández López authored
    Despite we were checking for the kubelet kubeconfig file to be present, the
    kubelet first writes this file and then the certificates the kubeconfig file
    refers to. This represents a race condition in kubeadm in which when we confirm
    that the kubelet's kubeconfig file is present we continue creating a clientset
    out of it. However, the clientset creation will ensure that the certificates the
    kubeconfig file refers to exist on the filesystem.
    
    To fix this problem, not only wait for the kubelet's kubeconfig file to be
    present, but also ensure that we can create a clientset ouf of it on our polling
    process, while we wait for the kubelet to have performed the TLS bootstrap.
    becb2b75
Name
Last commit
Last update
..
clicheck Loading commit data...
cloud-controller-manager Loading commit data...
controller-manager Loading commit data...
gendocs Loading commit data...
genkubedocs Loading commit data...
genman Loading commit data...
genswaggertypedocs Loading commit data...
genutils Loading commit data...
genyaml Loading commit data...
hyperkube Loading commit data...
importverifier Loading commit data...
kube-apiserver Loading commit data...
kube-controller-manager Loading commit data...
kube-proxy Loading commit data...
kube-scheduler Loading commit data...
kubeadm Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
linkcheck Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...