k3s/cmd/kubeadm/app
Kubernetes Submit Queue d23ad1f894
Merge pull request #62947 from fabriziopandini/kubeadm-ha-ControlPlaneEndpoint2
Automatic merge from submit-queue (batch tested with PRs 62464, 62947). 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>.

make API.ControlPlaneEndpoint accept IP

**What this PR does / why we need it**:
This PR implements one of the actions defined by https://github.com/kubernetes/kubeadm/issues/751 (checklist form implementing HA in kubeadm).

With this PR, the `API.ControlPlaneEndpoint` value in the kubeadm MasterConfiguration file now accepts both DNS and IP.

The `API.ControlPlaneEndpoint` should be used to set a stable IP address for the control plane; in an HA configuration, this should be the load balancer address (no matter if identified by a DNS name or by a stable IP).

**Special notes for your reviewer**:
/CC @timothysc 
This PR is the same of https://github.com/kubernetes/kubernetes/pull/62667, that I closed by error 😥

**Release note**:
```release-note
NONE
```
Nb. first https://github.com/kubernetes/kubernetes/pull/62667 already has the release note
2018-04-23 16:42:06 -07:00
..
apis/kubeadm make API.ControlPlaneEndpoint accept IP 2018-04-23 00:16:13 +02:00
cmd Bump kube-dns version for kubeadm upgrade 2018-04-23 17:24:34 +01:00
constants Merge pull request #60476 from xiangpengzhao/remove-todos 2018-04-13 11:01:00 -07:00
discovery Merge pull request #60852 from karan/kubeadm-cluster-name 2018-04-12 15:40:10 -07:00
features Merge pull request #58828 from rajansandeep/configtranslate 2018-03-05 06:56:48 -08:00
images Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
phases Merge pull request #62947 from fabriziopandini/kubeadm-ha-ControlPlaneEndpoint2 2018-04-23 16:42:06 -07:00
preflight kubeadm preflight: check socket path if defined otherwise check docker 2018-04-14 12:47:15 -05:00
util make API.ControlPlaneEndpoint accept IP 2018-04-23 00:16:13 +02:00
BUILD Implement verbosity feature for kubeadm init 2018-03-25 09:43:31 -07:00
kubeadm.go Implement verbosity feature for kubeadm init 2018-03-25 09:43:31 -07:00