• 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
.github Loading commit data...
Godeps Loading commit data...
api Loading commit data...
build Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
docs Loading commit data...
hack Loading commit data...
logo Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
staging Loading commit data...
test Loading commit data...
third_party Loading commit data...
translations Loading commit data...
vendor Loading commit data...
.bazelrc Loading commit data...
.generated_files Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.kazelcfg.json Loading commit data...
BUILD.bazel Loading commit data...
CHANGELOG-1.13.md Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.generated_files Loading commit data...
OWNERS Loading commit data...
OWNERS_ALIASES Loading commit data...
README.md Loading commit data...
SECURITY_CONTACTS Loading commit data...
SUPPORT.md Loading commit data...
WORKSPACE Loading commit data...
code-of-conduct.md Loading commit data...