Commit Graph

60 Commits

Author SHA1 Message Date
Brendan Burns
5be9ff70af Add a negative test for HTTP health checks 2015-08-06 21:22:31 -07:00
Mike Danese
8e33cbfa28 rewrite go imports 2015-08-05 17:30:03 -07:00
Max Forbes
e704004a53 Change Fail(fmt.Sprintf(...)) to Failf(...) 2015-07-23 16:03:34 -07:00
Max Forbes
a4112ded7b Make liveness test faster 2015-07-23 14:56:04 -07:00
Wojciech Tyczynski
959477463f Migrate tests to non-default namespaces 2015-07-23 12:04:10 +02:00
Wojciech Tyczynski
b96d2296b4 Delete namespace after test 2015-07-03 11:04:32 +02:00
Jordan Liggitt
ecebac9395 Add option to require API tokens to exist in admission 2015-06-30 16:12:45 -04:00
He Simei
912e54789e Enhance test api to support test cases involved multiple containers 2015-06-25 09:29:19 +08:00
Brendan Burns
c3f4b3ff97 Switch to the gcr nginx container in a few remaining places. 2015-06-16 11:49:36 -07:00
Brendan Burns
3b034a8293 Add a test that verifies pods with resource limits schedule. 2015-06-09 15:21:27 -07:00
Filip Grzadkowski
98115facfd Revert "Gracefully delete pods from the Kubelet" 2015-06-02 23:40:05 +02:00
Clayton Coleman
f1eaa8a27b Delete resources immediately from e2e tests 2015-06-01 19:24:02 -04:00
derekwaynecarr
3e8b1d5e01 Update all salt providers to force explicit namespace creation; update e2e 2015-05-28 13:45:49 -04:00
Quinton Hoole
14665119b4 Revert "improve e2e retry logic with standard wait.Poll()" 2015-05-19 11:17:32 -07:00
He Simei
09fc2a5013 improve retry logic with standard wait.Poll()
Signed-off-by: He Simei <hesimei@zju.edu.cn>
2015-05-19 21:31:27 +08:00
Brendan Burns
c9324e6e38 Switch exec to look at exit code not output status. 2015-05-08 16:51:37 -07:00
Vishnu Kannan
18b3d34b18 Adding an integration test to verify success case for exec liveness probes. 2015-05-04 16:19:36 -07:00
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