Merge pull request #38183 from tianshapjq/remove-create-external-load-balancer

Automatic merge from submit-queue (batch tested with PRs 40345, 38183, 40236, 40861, 40900)

remove the create-external-load-balancer flag in cmd/expose.go

**What this PR does / why we need it**:
In cmd/expose.go there is a todo "remove create-external-load-balancer in code on or after Aug 25, 2016.", and now it's been a long time past. So I remove this flag and modify the test cases. 
Please check for this, thanks!

**Release note**:

```
remove the deprecated flag "create-external-load-balancer" and use --type="LoadBalancer" instead.
```
This commit is contained in:
Kubernetes Submit Queue
2017-02-07 11:33:41 -08:00
committed by GitHub
5 changed files with 8 additions and 16 deletions

View File

@@ -120,7 +120,6 @@ controller-start-interval
cors-allowed-origins
cpu-cfs-quota
cpu-percent
create-external-load-balancer
current-release-pr
current-replicas
daemonset-lookup-cache-size