Commit Graph

132 Commits (093ceb95288498830943e6a9655acb02d1375f47)

Author SHA1 Message Date
Jeff Grafton 27d096d27d Rename build-tools/ back to build/ 2016-12-14 13:42:15 -08:00
Zihong Zheng 69dc74bab3 Turns on dns horizontal scaling tests for GKE 2016-12-07 16:05:22 -08:00
Kubernetes Submit Queue 3dac320640 Merge pull request #36292 from jlowdermilk/no-gcloud-update
Automatic merge from submit-queue

Don't update gcloud in cluster/*/util.sh

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

Removes automatic gcloud update commands from `cluster/gce/util.sh`, `cluster/gke/util.sh`. Setting env `KUBE_PROMPT_FOR_UPDATE=y` will update required components, otherwise it will only verify that required components are present and at a minimum required version.

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

**Special notes for your reviewer**:

Inline python is nasty but I *really* don't want to do version comparison in bash. Open to other suggestions for verifying required version of gcloud components. cc @kubernetes/sig-cluster-lifecycle, @kubernetes/sig-testing 

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
`kube-up.sh`/`kube-down.sh` no longer force update gcloud for provider=gce|gke.
```
2016-12-01 00:39:10 -08:00
Mike Danese 46551130cf retry some operation in the gke kube-up.sh 2016-11-22 09:33:17 -08:00
Jeff Lowdermilk 7c11427ca9 Don't update gcloud in cluster/*/util.sh 2016-11-11 15:53:25 -08:00
Zihong Zheng d961190e6f Deployed DNS horizontal autoscaler as an addon
DNS horizontal autoscaling feature is turned on by default on gce.
The corresponding env var is piped into almost all other cloud
providers.
2016-11-07 10:44:44 -08:00
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