kubernetes/cmd/kubeadm/app
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
..
apis/kubeadm Fix kubeadm for v1alpha1 configs 2018-06-05 09:55:46 -04:00
cmd Merge pull request #64792 from luxas/patch_node_crisocket 2018-06-06 01:24:17 -07:00
constants kubeadm: Upload CRISocket information and hence make kubeadm join blocking 2018-06-06 01:05:49 +03:00
discovery autogenerated 2018-05-31 22:21:06 +03:00
features remove v190 from kubeadm in v1.11 cycle 2018-05-17 20:32:24 +08:00
images Prepulls images by default 2018-05-25 14:26:29 -04:00
phases Merge pull request #64792 from luxas/patch_node_crisocket 2018-06-06 01:24:17 -07:00
preflight Merge pull request #64618 from chuckha/loggin 2018-06-04 16:56:18 -07:00
util Merge pull request #64670 from stealthybox/feature/kubeadm_882-etcd-zero-probe 2018-06-05 23:22:48 -07:00
BUILD autogenerated 2018-06-06 01:31:20 +03:00
kubeadm.go Replace glog.Info{f,ln} with fmt.Print{f,ln} 2018-06-04 10:34:31 -04:00