Commit Graph

143 Commits (ee4227f4bfe8c33426f1ac267a945094bfbc83cf)

Author SHA1 Message Date
Eric Paris 6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Piotr Szczesniak 11a2dc496f Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
Those are changes which touch users required by Termination Notice

Addresses #6804
2015-04-30 18:00:33 +02:00
Quinton Hoole 7433d10104 Retry pod update on version conflict error in e2e test. 2015-04-24 11:49:23 -07:00
Ravi Gadde bf8f258471 Added field selector for listing pods. 2015-04-21 06:33:28 -07:00
Tim Hockin c2bacd588d Stop using dockerfile/* images
As per
http://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/
docker has stopped answering dockerfile/redis and dockerfile/nginx.  Fix all
users in our tree.  Sadly this means a lot of published examples are now broken.
2015-04-16 12:20:43 -07:00
Quinton Hoole 8edcdc8c6c Mark HostIP e2e test pending due to #6558. 2015-04-14 16:58:08 -07:00
Quinton Hoole 4a20101a8d Add an e2e test that pods get a host IP 2015-04-13 20:20:48 -07:00
Jeff Lowdermilk 7abcba9017 Use an up-to-date nginx image for e2e tests 2015-04-02 10:15:20 -07:00
Satnam Singh 3c119c008d Convert kubernetes/serve_hostname to gcr.io/google_containers/server_hostname 2015-04-01 15:39:05 -07:00
Jeff Lowdermilk 2d8e93f8b4 e2e images pulled from gcr.io 2015-04-01 09:18:03 -07:00
Victor Marmol d80ac514df Merge pull request #6224 from pmorie/e2e-refactor
Extract testContainerOutput method from e2e tests
2015-03-31 14:45:02 -07:00
Paul Morie 0efe5e7872 Extract testContainerOutput method from e2e tests 2015-03-31 15:41:56 -04:00
Tim Hockin 186818d787 WIP: Implement multi-port Services 2015-03-30 19:28:11 -07:00
Piotr Szczesniak 31901ed9d0 Changed PodInfo to be a list
This change is to make API consistent with our convention.

Fixes #3622
2015-03-26 10:15:25 +01:00
Tim Hockin 4375376e9c Rename Service.ContainerPort to TargetPort in v1b3
Fix all callers and examples.  Part of multi-port service cleanup.
2015-03-20 13:50:06 -07:00
Salvatore Dario Minonne 31ddefc347 Finalize fields.Selector 2015-03-17 22:55:43 +01:00
Dawn Chen 34e9c82c70 Convert RestartPolicy to string for v1beta3.
Fixed #3607 and spiritually support #5475
2015-03-13 18:38:07 -07:00
Jerzy Szczepkowski f24531c88e Fixed pods e2e test.
Fixed pods e2e test. The test was failing due to PR #5256.
2015-03-12 14:05:50 +01:00
Jerzy Szczepkowski 0342ba3476 Watch support in PodInterface.
Added Watch support to PodInterface. Extended pods e2e to test watch. Resolves #4777.
2015-03-10 09:45:44 +01:00
Jeff Lowdermilk 083f29158f Make e2e pod start timeouts uniform 2015-03-05 15:54:45 -08:00
Tim Hockin ea548b8260 Rename type Port to ContainerPort
Sadly I had to do this by hand - I just could not get gorename to fix up
users of it.
2015-02-27 21:05:59 -08:00
Daniel Smith 650f6cb826 Revert "Multi-port Endpoints" 2015-02-23 13:53:21 -08:00
Daniel Smith 502f040129 Merge pull request #4712 from thockin/plural_30_endpoints
Multi-port Endpoints
2015-02-23 13:48:37 -08:00
Zach Loafman 490624cfb7 Merge pull request #4631 from fabioy/fix-pods.go
Move the various "defer" calls before the creation in pods.go e2e test.
2015-02-23 09:55:14 -08:00
Tim Hockin e0fd83096c Rename type Port to ContainerPort
Sadly I had to do this by hand - I just could not get gorename to fix up
users of it.
2015-02-21 22:26:38 -08:00
Andy Goldstein 5bd0e9ab05 Add streaming command execution & port forwarding
Add streaming command execution & port forwarding via HTTP connection
upgrades (currently using SPDY).
2015-02-20 09:57:02 -05:00
Fabio Yeon 2944334db1 Move the various "defer" calls before the creation in pods.go e2e test. 2015-02-19 15:26:40 -08:00
Brendan Burns c83c571cc7 Remove hostPort from several tests. 2015-02-18 16:11:46 -08:00
Jeff Lowdermilk 6c3166ad13 Deflake Pods should contain environment variables for services 2015-02-13 17:58:29 -08:00
Brendan Burns a2beba5ace Add some retry to envvar log gathering. 2015-02-13 09:35:22 -08:00
Zach Loafman 6117592905 Add expectNoError helper to handle Expect(err).NotTo(HaveOccurred()) meme
And convert one file
2015-02-12 11:34:07 -08:00
Zach Loafman 9774e9bb7b Remove unnecessary GinkgoDefer()s 2015-02-12 11:33:33 -08:00
Robert Rati 979ecf42d2 Moved liveness tests into the pod suite #4253 2015-02-10 13:47:48 -05:00
Zach Loafman fe838fca64 Convert waitForPodSuccess to error form, glog->By
* Also add variable timeout as well
* And nail in coffin for glog in this file!
2015-02-09 07:48:07 -08:00
Zach Loafman 2e4a1e910b Change loadClientOrDie to return an error
Also remove a bunch of dead code. This is a step along the path to
getting rid of all the glog in util.go.
2015-02-09 07:14:52 -08:00
Zach Loafman 2be3139926 Add a timeout to waitForPodRunning
* Add a timeout, convert the function to return an error (which gives
a reasonable status message for callers).
* Start converting glog to By.
2015-02-09 06:36:53 -08:00
Satnam Singh 9ec61ce355 Merge pull request #4004 from filbranden/e2e_podsvcenv_remove_embedded_json
Use api.Pod and api.Service objects instead of JSON snippets
2015-02-04 14:49:24 -08:00
Robert Rati 50467043d5 Converted test in pods suite to use native Go definition of the api.Pod #4070 2015-02-03 15:29:23 -05:00
Filipe Brandenburger f1c354981e Use api.Pod and api.Service objects instead of JSON snippets
Start to use unique names for the pods and services. Later, we will
replace that by the use of namespaces.

We are also discussing using a versioned api, however that refactor can
happen on a follow up commit as well.

Tested by running cmd/e2e -t Pods against an API server in GCE.
2015-02-03 11:19:10 -08:00
Robert Rati 3a562b18a7 Moved TestPodHasServiceEnvVars into the pods test suite and deleted the
original file #3941
2015-02-03 09:17:14 -05:00
Robert Rati eb5d340851 Added a submit/remove test to pods #3941 2015-02-03 09:17:14 -05:00
Robert Rati e47b98db29 Converted TestPodUpdate to native ginkgo syntax #3941 2015-02-03 09:17:12 -05:00
Robert Rati 44510e11ac Renamed the pod_update file to pods #3941 2015-02-03 08:50:46 -05:00