k3s/cmd
Rafael Fernández López 6a8a832f61
Fix race condition when joining nodes
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.
2018-12-13 20:51:35 +01:00
..
clicheck wire config flags through factory 2018-05-04 17:02:20 -04:00
cloud-controller-manager Merge pull request #71302 from liggitt/verify-unit-test-feature-gates 2018-11-29 21:45:12 -08:00
controller-manager auto-generated file 2018-11-21 17:39:15 +08:00
gendocs wire config flags through factory 2018-05-04 17:02:20 -04:00
genkubedocs GCP: Remove the deprecated google-json-key support 2018-10-02 16:53:28 -07:00
genman Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
genswaggertypedocs Move from glog to klog 2018-11-10 07:50:31 -05:00
genutils
genyaml wire config flags through factory 2018-05-04 17:02:20 -04:00
hyperkube removed spaces in comment 2018-12-11 12:13:57 -08:00
importverifier fix message output for import verifier 2018-05-10 12:50:28 -04:00
kube-apiserver Merge pull request #70426 from sttts/sttts-testserver-run-errors 2018-11-29 00:47:45 -08:00
kube-controller-manager Merge pull request #71302 from liggitt/verify-unit-test-feature-gates 2018-11-29 21:45:12 -08:00
kube-proxy Update non-test code to use DefaultMutableFeatureGate 2018-11-21 11:51:33 -05:00
kube-scheduler Allow kube-scheduler to tolerate cluster auth config lookup failure 2018-12-05 14:13:47 -05:00
kubeadm Fix race condition when joining nodes 2018-12-13 20:51:35 +01:00
kubectl Simplify random seed initialization 2018-10-11 21:01:15 +11:00
kubelet Merge pull request #71174 from smarterclayton/debug_kubeadm 2018-12-03 05:49:57 -08:00
kubemark Move from glog to klog 2018-11-10 07:50:31 -05:00
linkcheck
BUILD
OWNERS