Commit Graph

84 Commits

Author SHA1 Message Date
k8s-merge-robot
1186f4bf85 Merge pull request #24177 from a-robinson/gke
Automatic merge from submit-queue

Fix GKE kube-up to correctly find an IGM from a multi-zone cluster

I've confirmed that this successfully brings up a cluster, fixing the immediate issue with the new e2e test. Sorry about not properly vetting it in the original PR (#24075).

This does cause a warning message to be printed based on the handling of the NUM_NODES variable though, which I could fix if you guys think it's worth it:
```
Detected 6 ready nodes, found 6 nodes out of expected 3. Found more nodes than expected, your cluster may not behave correctly.
```

@quinton-hoole
2016-04-14 06:34:12 -07:00
k8s-merge-robot
7daa26e51d Merge pull request #24162 from jlowdermilk/fix-log-dump
Automatic merge from submit-queue

Fix log dump for new gcloud

`gcloud compute instance-groups managed list-instances` at CI has self-link for instance instead of just name. Fixes #24120
2016-04-14 03:47:27 -07:00
Alex Robinson
b30c4d4975 Fix GKE kube-up to correctly find an IGM from a multi-zone cluster. 2016-04-12 20:21:13 -07:00
Jeff Lowdermilk
f8c135dc1f Fix log dump for new gcloud 2016-04-12 14:40:13 -07:00
Alex Robinson
e686ba978f Add an e2e test suite for multi-zone GKE clusters. 2016-04-09 00:14:44 +00:00
Robert Bailey
c5ca042ede Remove the restart-kube-proxy and restart-apiserver functions
since neither are used any longer.
2016-03-18 01:49:01 -07:00
Joe Finney
e660adbad8 Add connect timeout to ssh-to-node. 2016-03-07 13:29:04 -08:00
k8s-merge-robot
1ce188e557 Merge pull request #21430 from spxtr/e2e-internal
Auto commit by PR queue bot
2016-02-21 12:08:22 -08:00
Joe Finney
2b756ca56d Move E2E kube-up call into test-setup from e2e-internal. 2016-02-17 16:49:07 -08:00
Joe Finney
6f7182e500 Remove hack/e2e-test.sh in favor of hack/e2e.go. 2016-02-16 14:54:50 -08:00
Robert Bailey
48a84bae68 Use gcloud install instead of gcloud update for components to remove
the annoying prompt.

Fixes #18374
2015-12-08 11:26:04 -08:00
Brad Erickson
0bd16e0437 Minion->Node rename: kube-util hosting provider helper functions 2015-11-26 09:31:46 -08:00
Brad Erickson
53172a5356 Minion->Node rename: NUM_NODES 2015-11-25 00:45:10 -08:00
Brad Erickson
e67be19a5b Minion->Node rename: OLD_NODE_TAG, NODE_TAG 2015-11-25 00:45:09 -08:00
Brad Erickson
1846cfc129 Minion->Node rename: NODE_ROOT_DISK_SIZE, NODE_ROOT_DISK_TYPE, etc
NODE_SCOPES
2015-11-25 00:45:09 -08:00
Brad Erickson
fc04b55088 Minion->Node rename: NODE_NAMES, NODE_NAME, NODE_PORT 2015-11-25 00:45:09 -08:00
Tim Hockin
b6506c6af0 Kill a few more uses of 'gcloud preview' 2015-10-26 14:48:41 -07:00
Isaac Hollander McCreery
79df5f58ff kubernetes-upgrade-1.0-1.1-gke configs using ci/latest-1.1 2015-10-15 10:30:09 -07:00
Robert Bailey
69c987228b Use the cluster name instead of the minion tag as the prefix for
the firewall rules created in e2e tests. This allows the teardown
code to run without needing to inspect the managed instance group
for the cluster (which may no longer exist) and should make e2e
teardown much more resilient.
2015-09-21 20:21:26 -07:00
Jeff Lowdermilk
7229096453 Add config for the main gke-jenkins jobs to e2e.sh 2015-09-11 11:05:30 -07:00
Jeff Lowdermilk
438216844f Stop reusing basic auth on cluster create 2015-08-22 11:45:46 -07:00
Jerzy Szczepkowski
3a6158f8ad Merge pull request #12985 from mbabker/gke-machine-type
Add ability to specify machine type for GKE
2015-08-21 10:29:01 +02:00
Jeff Lowdermilk
30b8802fa6 Future-proof detect-minions for gke 2015-08-20 17:38:45 -07:00
Michael Babker
f562a3b471 Add ability to specify machine type for GKE 2015-08-20 17:09:42 -04:00
Wojciech Tyczynski
1feb78be66 Stop using deprecated commands 2015-08-19 12:19:08 +02:00
CJ Cullen
31811de52d Always use the --cluster-version flag for the gke provider. 2015-08-11 09:48:32 -07:00
Marek Grabowski
8bec081776 Revert "Fix kube-up for GKE. cluster-version is no more." 2015-08-11 16:29:32 +02:00
gmarek
69f7a71b5d Fix kube-up for GKE. cluster-version is no more. 2015-08-11 11:26:05 +02:00
Max Forbes
acef505cfd Implement 'Nodes Network' test for GKE; add optional verbose SSH. 2015-08-06 14:25:53 -07:00
Wojciech Tyczynski
2c5c1931e5 Revert "Implement 'Nodes Network' test for GKE" 2015-07-30 15:29:01 +02:00
Mike Danese
59a1dd4267 Merge pull request #11789 from mbforbes/nodesNetwork
Implement 'Nodes Network' test for GKE
2015-07-29 17:43:33 -07:00
Mike Danese
5bd82ffe6d Merge pull request #11265 from mbforbes/gkeBashlog
Cleanup GKE bash logging
2015-07-24 18:51:36 -07:00
Max Forbes
bd9e09ba00 Implement 'Nodes Network' test for GKE 2015-07-24 17:05:30 -07:00
Mike Danese
e9084f95d1 Merge pull request #10517 from chrishiestand/gke-scopes
change shell var MINION_SCOPES to user setable
2015-07-24 09:22:25 -07:00
Wojciech Tyczynski
4fa9fc7fbf Merge pull request #11266 from mbforbes/quietProject
Log Project (GKE) less and cleanup bash indentation
2015-07-23 10:54:05 +02:00
Chris Hiestand
db1a73317c change shell var MINION_SCOPES to user setable
Because bash arrays may not be environment variables
 (see: <https://stackoverflow.com/questions/5564418/exporting-an-array-in-bash-script>)
 we have to change the MINION_SCOPES array to a string
* prefers aliases instead of full URLs for scopes

tested under GKE, needs GCE testing

Close #10458
2015-07-22 14:34:03 -07:00
Max Forbes
fcb4e5e204 Log Project (GKE) less and cleanup bash indentation 2015-07-15 15:49:28 -07:00
Max Forbes
4a45aff0ec (GKE) Stop 'gcloud preview' call from failing Jenkins jobs. 2015-07-14 15:00:14 -07:00
Max Forbes
8e2f2af6d9 Cleanup GKE bash logging 2015-07-14 14:44:34 -07:00
Jeff Lowdermilk
e72431033a Fix a few e2e references to allow gke to test dogfood builds 2015-06-18 13:39:51 -07:00
CJ Cullen
6f30aa78a7 Make GKE-CI test firewalls work on Jenkins 2015-06-12 13:33:50 -07:00
CJ Cullen
4e57dbdc26 Make GKE test firewalls work with new short-hash node names. 2015-06-12 07:46:41 -07:00
CJ Cullen
69f5765fa2 Apply test firewalls to both the new gke- node tags and the old k8s- tags 2015-06-11 18:07:10 -07:00
Jeff Lowdermilk
2af7dd5b57 Fix #9506 2015-06-11 14:12:02 -07:00
Abhi Shah
c5553af281 Merge pull request #9506 from cjcullen/resize
Make resize tests work on GKE
2015-06-11 11:05:07 -07:00
Jeff Lowdermilk
ea6756210e Allow gke provider to handle internal gcloud versions for testing. 2015-06-10 16:23:32 -07:00
CJ Cullen
abc4e53648 Make resize tests work on GKE 2015-06-09 12:00:10 -07:00
Zach Loafman
6f1d60ed31 gke provider: Fix "gcloud .* describe" checks in util.sh
This basically prevents you from re-running e2es cross-project on the
GKE provider. (The current Jenkins jobs that have been moved to
different projects are working kind of accidentally.)
2015-06-02 07:03:32 -07:00
Justin Santa Barbara
521cb0e85b Pass arg lists to gcloud as comma-separated single arg
This should get rid of the scary warning messages on GCE up.

Fixes #8117
2015-05-28 00:36:13 -04:00
CJ Cullen
28a8c13c19 Fix detect-minion-names for gke provider 2015-05-26 14:15:01 -07:00