Merge pull request #42064 from luxas/kubeadm_beta_init_ux

Automatic merge from submit-queue (batch tested with PRs 42128, 42064, 42253, 42309, 42322)

kubeadm: Rename some flags for beta UI and fixup some logic

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

In this PR:
 - `--api-advertise-addresses` becomes `--apiserver-advertise-address`
   - The API Server's logic here is that if the address is `0.0.0.0`, it chooses the host's default interface's address. kubeadm here uses exactly the same logic. This arg is then passed to `--advertise-address`, and the API Server will advertise that one for the service VIP.
 - `--api-port` becomes `--apiserver-bind-port` for clarity

ref the meeting notes: https://docs.google.com/document/d/1deJYPIF4LmhGjDVaqrswErIrV7mtwJgovtLnPCDxP7U/edit#

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

**Special notes for your reviewer**:

**Release note**:

```release-note
```
@jbeda @dmmcquay @pires @lukemarsden @dgoodwin @mikedanese
This commit is contained in:
Kubernetes Submit Queue
2017-03-02 05:00:50 -08:00
committed by GitHub
17 changed files with 54 additions and 65 deletions

View File

@@ -11,15 +11,15 @@ allowed-not-ready-nodes
allow-missing-template-keys
allow-privileged
anonymous-auth
api-advertise-addresses
api-burst
api-external-dns-names
api-port
api-prefix
api-rate
api-server-advertise-address
apiserver-advertise-address
apiserver-arg-overrides
apiserver-arg-overrides
apiserver-bind-port
apiserver-count
apiserver-count
apiserver-count