Commit Graph

5756 Commits (3a16a9c39e802557bbc515dec89aa66e4315ac7e)

Author SHA1 Message Date
Tim Hockin 35d59e6219 Merge pull request #3851 from satnam6502/bigcluster
Generate IP addresses for minions of large GCE clusters
2015-01-29 14:34:13 -08:00
Tim Hockin d01ea11a6e Merge pull request #3856 from smarterclayton/validation_logic_needs_cleanup
Validation of ObjectMeta is inconsistently applied
2015-01-29 14:12:44 -08:00
Clayton Coleman 053c2b2100 Fix grafana and heapster RC names 2015-01-29 16:26:39 -05:00
Tim Hockin 7603f88960 Merge pull request #3903 from brendandburns/e2e2
Add a simple script for running go e2e tests against existing clusters.
2015-01-29 11:51:36 -08:00
Brendan Burns 8723ee9ab5 Merge pull request #3909 from jbeda/hyperkube
Create new hyperkube package
2015-01-29 11:25:15 -08:00
Satnam Singh 42f907034a Merge pull request #3923 from brendandburns/fixer
Add some extra checking around a call to list pods.
2015-01-29 11:03:25 -08:00
Satnam Singh 0dcf1cea4a Merge pull request #3935 from brendandburns/shell_sucks
Put watch in a loop so that we grab all event logs, even if the watch hangs up.
2015-01-29 10:53:19 -08:00
Brendan Burns 0ad036e0eb Put watch in a loop so that we grab all event logs, even if the watch hangs up. 2015-01-29 09:56:20 -08:00
Satnam Singh 4fa0baa7df Merge pull request #3925 from filbranden/e2e_ginkgo_tests_subset
Make cmd/e2e -t work again
2015-01-29 09:25:13 -08:00
Satnam Singh 99d2c93b96 Merge pull request #3929 from filbranden/e2e_liveness_hermetic
Make liveness e2e test more hermetic
2015-01-29 08:41:57 -08:00
Filipe Brandenburger a58b1ca39c Make liveness e2e test more hermetic
Avoid importing the YAML files from the examples/ tree, instead just
define the api.Pod structs in the Go source code.

Tested by running the TestLivenessHttp and TestLivenessExec tests
against a test cluster.
2015-01-29 00:09:12 -08:00
Brendan Burns 2d4e72f1fa Add some extra checking around a call to list pods. 2015-01-28 22:22:54 -08:00
Brendan Burns 3624b65f1c Transform the podCache into a write-through cache.
Don't always clear podInfo, instead occasionally garbage collect.
2015-01-28 22:15:23 -08:00
Filipe Brandenburger fa845030c4 Make cmd/e2e --test work after the conversion to Ginkgo
Use the --ginkgo.focus flag which accepts a regexp to define which tests
should be run. Create a regexp matching a full word that is exactly one
of the test names passed as -t parameters.

Tested with cmd/e2e -t TestLivenessHttp -t TestLivenessExec, confirmed
that 2 tests were executed and 9 were skipped.
2015-01-28 21:11:23 -08:00
nikhiljindal dc92d3c7a2 Cleaning up the operations code in client 2015-01-28 21:04:16 -08:00
Filipe Brandenburger 47739abb30 Make it possible to re-enable color output in Ginkgo e2e tests
Instead of forcing the NoColor flag to on at runtime, make it default to
being on in a way that it's still possible to override it by passing e2e
the --ginkgo.noColor=false command-line flag.

Tested by running the tests with and without the flag and confirming
that both worked as expected.
2015-01-28 20:25:46 -08:00
Brendan Burns ca6de16df7 Merge pull request #3915 from brendandburns/fixer
Fix update.sh
2015-01-28 20:02:58 -08:00
Brendan Burns 9f5ca3f6ac Fix update.sh 2015-01-28 20:00:47 -08:00
Brian Grant fcb1cd30ff Merge pull request #3891 from nikhiljindal/Operation
Deleting OperationHandler for handling /operation endpoint on server
2015-01-28 17:01:37 -08:00
roberthbailey 9bfdfa0522 Merge pull request #3902 from satnam6502/killshell
Remove basic.sh and private.sh shell e2e tests
2015-01-28 16:51:22 -08:00
Amy Unruh c263de2b0b addition of mysql-wordpress-pd example 2015-01-28 16:50:00 -08:00
Brendan Burns ca6576d060 Add a simple script for running go e2e tests against existing clusters.
Also add an even simpler script for testing the network setup.
2015-01-28 16:39:21 -08:00
Alex Mohr dff727c50b Merge pull request #3875 from vmarmol/metadata
Using metadata library for GCE metadata fetch.
2015-01-28 16:38:43 -08:00
Zach Loafman 668d8539b8 Merge pull request #3855 from filbranden/ginkgo1
Initial adoption of Ginkgo in Kubernetes e2e tests
2015-01-28 16:32:11 -08:00
Filipe Brandenburger 606b517a07 Enable Go e2e report_dir in Jenkins
Use the E2E_REPORT_DIR global environment variable to define the
location where the JUnit XML reports should be saved.

Modify the Jenkins e2e.sh script to export that variable pointing to the
top of the Jenkins build tree.

Tested by running `E2E_REPORT_DIR=${PWD}/.. hack/e2e-test.sh` and
confirmed ../junit.xml was generated and looked good.
2015-01-28 16:27:43 -08:00
Joe Beda e1dd6b297c Create new hyperkube package.
This is the start of an uber-binary that can morph into any server.  Eventually we'll want this to be able to launch multiple servers from a single command line.
2015-01-28 16:11:34 -08:00
Brendan Burns 919b2d20e0 Merge pull request #3904 from mrunalp/cleanup/net_pod_infra
Replace "net" by "pod infra" in docs, comments and format strings.
2015-01-28 15:55:25 -08:00
Maxwell Forbes 5500b1a261 Merge pull request #3576 from jlowdermilk/examples
Update update-demo example to use kubectl
2015-01-28 15:43:18 -08:00
Filipe Brandenburger 7f3fec79a9 Merge pull request #3905 from satnam6502/apiserver
Parameterize API rate limits for apiserver
2015-01-28 15:40:14 -08:00
Jeff Lowdermlk c912b831ce Update update-demo example and e2e test to use kubectl 2015-01-28 15:26:56 -08:00
Filipe Brandenburger bd79d00e22 Generate JUnit XML for Jenkins from the Go e2e tests
Use ginkgo's native support for JUnit in order to generate the XML file.

This is a first step in better integration of our e2e tests with
Jenkins. In order to improve the logged information, we will probably
need to have more native ginkgo tests but this step allows us to see
what Jenkins can already do with this information and what we need to
tweak to improve it.

Tested by running the full e2e tests and inspecting the contents of
junit.xml on the top of the tree.

Textual output is still generated on the console to keep the current
goe2e.sh logs available until the full conversion of our Jenkins
instance to use the JUnit XML is completed.
2015-01-28 15:09:53 -08:00
Filipe Brandenburger 1c028de03a Initial adoption of ginkgo in e2e tests
In order to adopt ginkgo incrementally, let's start by replacing
test/e2e/driver.go with a call to ginkgo runner and convert each of the
other tests to a small Decscribe() snippet that simply calls the legacy
TestXYZ function.

From this basis we can take further incremental steps by converting
individual tests to native ginkgo format, using Fail() for all failure
cases, using By() for logs, enabling JUnit reports, etc.

Tested:
- cmd/e2e builds and `make check` passes.
- Running _output/bin/.../e2e on an alive cluster works.
- Running the full hack/e2e-test.sh works as expected.
2015-01-28 15:09:53 -08:00
Filipe Brandenburger dd8ada849e Import ginkgo and gomega libraries into kubernetes
This commit uses `godep` to vendor these libraries into our project.

They are not yet in use but we plan to use them in `test/e2e` in a follow up commit.
2015-01-28 15:09:53 -08:00
Satnam Singh 7d9845fc83 Parameterize API rate limits for apiserver 2015-01-28 15:08:08 -08:00
Jeff Lowdermlk 6e98ce34ca Fix kubectl proxy
Port flag was being ignored. Fixed now.
2015-01-28 15:07:00 -08:00
Mrunal Patel 19e0605f5b Replace "net" by "pod infra" in docs and format strings. 2015-01-28 15:03:06 -08:00
Brian Grant 613aa42550 Merge pull request #3900 from brendandburns/api2
Change persistentDisk to gcePersistentDisk for v1beta3
2015-01-28 15:02:55 -08:00
Satnam Singh 7e6a4ec0f5 Remove basic.sh and private.sh shell e2e tests 2015-01-28 14:43:53 -08:00
Filipe Brandenburger 18880d9086 Merge pull request #3895 from brendandburns/e2e
introduce a timeout for the update test.
2015-01-28 14:42:21 -08:00
Satnam Singh c27bc2f38a Merge pull request #3896 from brendandburns/e2e2
Add a hacky sleep in an attempt to deflake a test.
2015-01-28 14:41:29 -08:00
Filipe Brandenburger b0b883defc Merge pull request #3898 from satnam6502/throttle
Set Retry-After header before calling WriteHeader
2015-01-28 14:38:17 -08:00
Brendan Burns 6bcfe4f430 Change persistentDisk to gcePersistentDisk for v1beta3 2015-01-28 14:29:53 -08:00
Satnam Singh 5d5752374b Set Retry-After header before calling WriteHeader 2015-01-28 14:28:37 -08:00
Brendan Burns d13d2e8661 Add a hacky sleep in an attempt to deflake a test. 2015-01-28 14:19:19 -08:00
Brendan Burns 281b3c15ab introduce a timeout for the update test. 2015-01-28 14:10:51 -08:00
Eric Tune bba01c7a54 Merge pull request #3796 from derekwaynecarr/resource_quota
Admission Control: Resource Quota
2015-01-28 13:17:08 -08:00
nikhiljindal 521728e920 Deleting OperationHandler for handling /operation endpoint on server 2015-01-28 13:13:10 -08:00
Tim Hockin 804643a04b Merge pull request #3818 from mikedanese/probe-refactor
break api.Probe out of api.LivenessProbe
2015-01-28 12:41:35 -08:00
Brendan Burns e07558bb2c Merge pull request #3887 from dchen1107/cleanup
Increase timeout for all testcases in file_test.go
2015-01-28 12:14:39 -08:00
derekwaynecarr 0ff20c84dd Rebase errors 2015-01-28 15:09:42 -05:00