k3s/cluster/gce
Kubernetes Submit Queue 79d2f4f41c Merge pull request #54009 from MrHohn/delete-custom-subnetwork-fix
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 gce util script for getting PREEXISTING_NETWORK_MODE

**What this PR does / why we need it**:
Using `x_gcloud_subnet_mode` seems return nothing and broke the custom network cleanup logic, causing [pull-kubernetes-e2e-gce-gpu](https://k8s-testgrid.appspot.com/kubernetes-presubmits#pull-kubernetes-e2e-gce-gpu) constantly leaking network resource.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes https://github.com/kubernetes/test-infra/issues/5019

**Special notes for your reviewer**:
/assign @bowei 
cc @jingax10 @krzyzacy @mindprince 

**Release note**:

```release-note
NONE
```
2017-10-17 19:34:25 -07:00
..
container-linux Merge pull request #51250 from dixudx/bump_cni_v0.6.0 2017-10-16 14:47:23 -07:00
debian Allow creating special node for heapster in GCE 2017-06-28 21:27:36 +02:00
gci Merge pull request #51250 from dixudx/bump_cni_v0.6.0 2017-10-16 14:47:23 -07:00
BUILD Fix BUILD files 2017-08-02 18:33:32 -07:00
OWNERS Add bowei to the OWNER for cluster/gce 2017-08-31 10:29:19 -07:00
config-common.sh gce: remove compute-rw, see what breaks 2017-09-29 12:00:02 -07:00
config-default.sh [GCE kube-up] Allow creating/deleting custom network 2017-10-06 10:50:18 -07:00
config-test.sh Merge pull request #52377 from MrHohn/gce-kube-up-create-manual-network 2017-10-12 02:55:28 -07:00
configure-vm.sh Merge pull request #52183 from MrHohn/kube-proxy-incluster-host 2017-10-13 17:33:31 -07:00
cos
delete-stranded-load-balancers.sh
list-resources.sh Switch away from gcloud deprecated flags in compute resource listings 2017-08-30 06:41:09 +01:00
ubuntu
upgrade.sh Add cos as an alias for gci in the upgrade script 2017-09-22 15:34:51 -07:00
util.sh Add check-network-mode to support both new and deprecated network mode fields 2017-10-16 16:18:28 -07:00