kubernetes/cmd/kubeadm/app/preflight
Kubernetes Submit Queue 0cdd940ff6
Merge pull request #58815 from bart0sh/PR0002-join-checks
Automatic merge from submit-queue. 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>.

Fix adding FileContentCheck

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

Current code adds FileContentCheck only for the first API
Server mentioned in the command line. The test is never added
as net.ParseIP always fails because address:port is passed
to it instead of just an address.

Fixed both issues by introducing a loop over all API Servers
and splitting address:port before passing address to the
net.ParseIP API.

**Release note**:
```release-note
NONE
```
2018-01-31 10:54:50 -08:00
..
BUILD Fix scheduler refs in BUILD files. 2018-01-05 15:05:01 -08:00
checks_test.go Adds breadcrumb to crictl warning 2018-01-26 13:06:12 -05:00
checks_unix.go Kubeadm - Added initial support for Windows worker nodes to join cluster using kubeadm 2017-11-01 10:36:37 -04:00
checks_windows.go Kubeadm - Added initial support for Windows worker nodes to join cluster using kubeadm 2017-11-01 10:36:37 -04:00
checks.go Merge pull request #58815 from bart0sh/PR0002-join-checks 2018-01-31 10:54:50 -08:00
utils_test.go Detect major version mismatches between kubeadm and kubelet. 2017-09-26 12:56:03 +03:00
utils.go Detect major version mismatches between kubeadm and kubelet. 2017-09-26 12:56:03 +03:00