kubernetes/cmd/kubeadm/app/phases
Kubernetes Submit Queue 7d782400db
Merge pull request #64792 from luxas/patch_node_crisocket
Automatic merge from submit-queue (batch tested with PRs 63717, 64646, 64792, 64784, 64800). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

kubeadm: Upload CRISocket information in kubeadm init/join

**What this PR does / why we need it**:

As a side-effect, `kubeadm join` will become blocking on the kubelet doing the TLS bootstrap. This partially also fixes problems when users run `kubeadm join` and it returns successfully without anything happening as the kubelet is actually unhealthy. If that happens now `kubeadm join` will exit with a non-zero code.

What this PR does is it uploads the CRISocket information to the Node API object as a workaround until we have something like https://github.com/kubernetes/kubernetes/issues/64460 in place that will solve this problem for real. This way we won't lose the CRISocket information which we would otherwise do.
This can be used for `kubeadm upgrade` or `kubeadm reset` in future releases.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:
Depends on https://github.com/kubernetes/kubernetes/pull/64624

**Release note**:

```release-note
[action required] TODO
```
@kubernetes/sig-cluster-lifecycle-pr-reviews
2018-06-06 01:24:17 -07:00
..
addons Merge pull request #64775 from rajansandeep/imgcoredns 2018-06-05 14:31:15 -07:00
bootstraptoken Replace glog.Info{f,ln} with fmt.Print{f,ln} 2018-06-04 10:34:31 -04:00
certs Merge pull request #64670 from stealthybox/feature/kubeadm_882-etcd-zero-probe 2018-06-05 23:22:48 -07:00
controlplane Replace glog.Info{f,ln} with fmt.Print{f,ln} 2018-06-04 10:34:31 -04:00
etcd kubeadm: Refactor the .Etcd substruct in the v1alpha2 API 2018-05-23 21:13:32 +03:00
kubeconfig Update unit tests to use the new NodeRegistration object 2018-05-29 17:52:10 +03:00
kubelet Merge pull request #64792 from luxas/patch_node_crisocket 2018-06-06 01:24:17 -07:00
markmaster Replace glog.Info{f,ln} with fmt.Print{f,ln} 2018-06-04 10:34:31 -04:00
patchnode autogenerated 2018-06-06 01:31:20 +03:00
selfhosting Replace glog.Info{f,ln} with fmt.Print{f,ln} 2018-06-04 10:34:31 -04:00
upgrade Merge pull request #64570 from liztio/force-version 2018-06-01 07:43:05 -07:00
uploadconfig Replace glog.Info{f,ln} with fmt.Print{f,ln} 2018-06-04 10:34:31 -04:00