Commit Graph

126 Commits (d0214ee303ebce59a6c5eb2c69e95fea79dc1c55)

Author SHA1 Message Date
Mike Danese 27116c6818 rename build/ to build-tools/ 2016-10-24 14:41:56 -07:00
Erick Fejta a221e68c0c Detect whether a cluster exists before deleting it 2016-10-20 12:09:04 -07:00
krousey 1627588837 Revert "Only delete GKE clusters that exist" 2016-10-20 10:36:41 -07:00
Erick Fejta 9feafda475 Only delete GKE clusters that exist 2016-10-19 18:43:07 -07:00
Jeff Grafton 6b65d4a390 Don't fail teardown if we can't delete the network 2016-10-13 12:24:22 -07:00
Jeff Grafton 661d6bde6f Delete all firewall rules and network on GCE/GKE test cluster teardown 2016-10-12 15:46:06 -07:00
gmarek 0f25d5526f Add a script to "stop" GKE cluster creation 2016-09-30 13:42:48 +02:00
Maisem Ali 714983c9f3 Setting the default image for GKE tests to Container_VM. 2016-09-20 14:29:23 -07:00
Tamer Tas 141f70402c cluster/gke: reword package docs 2016-08-14 22:12:51 +03:00
Ryan Hitchman 5508e49ef5 Use bash ranges "{1..3}" instead of "$(seq 1 3)". 2016-08-08 16:23:39 -07:00
Joe Finney 95ea9586da GKE test-build-release: Actually do the build. 2016-08-01 13:31:01 -07:00
k8s-merge-robot 85f75daf25 Merge pull request #28268 from cjcullen/expr
Automatic merge from submit-queue

Make GKE detect-instance-groups work on Mac.

Make the fix from #27803 also work on mac.

The GNU `expr` command supports both the `expr match STRING REGEXP` and `expr STRING : REGEXP` command syntax.

The BSD `expr` command only has the `expr STRING : REGEXP` syntax.

@fabioy @a-robinson
2016-07-01 21:41:11 -07:00
CJ Cullen 65ab7040a7 Make GKE detect-instance-groups work on Mac. 2016-06-29 22:49:26 -07:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
k8s-merge-robot b9bc756aa9 Merge pull request #27803 from fabioy/fix-multizone-groups
Automatic merge from submit-queue

Fix NODE_INSTANCE_GROUPS resolution in GKE to only

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

Fix NODE_INSTANCE_GROUPS resolution in GKE to only include single cluster groups. 
Add NODE_INSTANCE_GROUPS_URLS for multi-zone groups.

fixes #27692
2016-06-22 10:45:54 -07:00
Fabio Yeon 15a44e4243 Fix NODE_INSTANCE_GROUPS resolution in GKE to only
include single cluster groups. Add NODE_INSTANCE_GROUPS_URLS for
multi-zone groups.
2016-06-21 15:18:34 -07:00
nikhiljindal 864b267a8d Simplifying the code to create kubeconfig 2016-06-20 16:10:47 -07:00
nikhiljindal 9026195614 Updating the code to fix the context name before using it as secret and cluster names 2016-06-20 14:50:28 -07:00
nikhiljindal 657a7ef6a4 Create kubeconfig for cluster secrets on other cloud providers as well 2016-06-20 14:36:14 -07:00
k8s-merge-robot 13cd6475c9 Merge pull request #26917 from fabioy/fix_multi_migs
Automatic merge from submit-queue

Handle multiple MIGs (single-zone) properly in GKE scripts.

Change the scripts for GKE to handle multiple node pools (MIGs) in the same zone. 

Fixes https://github.com/kubernetes/test-infra/issues/100.

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-18 11:36:08 -07:00
k8s-merge-robot 7ab303efbe Merge pull request #27466 from madhusudancs/fed-dns-scope
Automatic merge from submit-queue

Move GCE NODE_SCOPES to config-common.sh and enable DNS scope in GKE.

Follow up to #27357

cc @colhom @kubernetes/sig-cluster-federation 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-17 17:02:11 -07:00
Madhusudan.C.S 3f5fbee19d Move GCE NODE_SCOPES to config-common.sh and enable DNS scope in GKE. 2016-06-15 11:36:07 -07:00
Zach Loafman 1fde6f867c GKE provider: Add a HEAPSTER_MACHINE_TYPE option
Allows heterogeneous cluster configurations for large cluster
synthetic testing.
2016-06-14 14:39:08 -07:00
Fabio Yeon da112e23af Handle multiple MIGs (single-zone) properly in GKE scripts. 2016-06-07 08:59:51 -07:00
Zach Loafman 9e23fa0e9b GKE provider: Tear down firewall rules last
It turns out, it's faster to do it in this order for large clusters.

Along the way: Do it in parallel
2016-06-01 15:37:20 -07:00
k8s-merge-robot 87403cfe7b Merge pull request #25173 from ixdy/gcloud-grep-awk-cut
Automatic merge from submit-queue

Use --format='value(name)' with gcloud instead of grep/awk/cut

Fixing our fragile parsing of `gcloud` is getting old (#24746, #25159, maybe others?).

Instead, let's just get the proper output out of `gcloud` in the first place.
2016-05-15 07:46:28 -07:00
Daniel Wang 09a9ea68c2 Add --image-type option to GKE kube-up 2016-05-10 21:27:31 -07:00
Zach Loafman e42f201189 GKE provider: Add cluster-ipv4-cidr and arbitrary flags 2016-05-10 16:00:34 -07:00
Jeff Grafton bc7922c374 Replace awkward bash pipelines with gcloud's --format='value()'
Also remove old `gcloud compute instance-groups managed get-operation`
code. This command doesn't even exist in gcloud anymore.
2016-05-06 15:49:57 -07:00
Jeff Grafton 5487a3f8f6 Fix detect-node-names to not error out if there are no nodes 2016-04-26 17:48:25 -07:00
Jeff Grafton b69b94103c Make detect-node-names less brittle for G{C,K}E 2016-04-25 12:10:25 -07:00
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
k8s-merge-robot f030b74be0 Merge pull request #16678 from goltermann/subnet
Auto commit by PR queue bot
2015-11-03 23:23:20 -08:00
goltermann 06b78f69e4 Update default node size and number of nodes for GKE E2E tests. 2015-10-30 12:27:13 -07:00
Alex Robinson 887b9dd78a Merge pull request #16232 from bprashanth/salt
Cluster-loadbalancing addon
2015-10-30 09:45:16 -07:00