Commit Graph

644 Commits (89a76b8c8b9385d1e687814eaabdf9b726168386)

Author SHA1 Message Date
Chao Xu 9fc79e9d99 refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
Andy Goldstein c83786979c Various exec fixes
If stdin is noninteractive, the io.Copy from stdin to remoteStdin will
unblock when it finishes reading from stdin. In this case, make sure to
close remoteStdin so the server knows the client won't be sending any
more data. This ensures that the remote process terminates. For example:

echo foo | kubectl exec -i <pod> -- cat

Without this change, the `cat` process never terminates and `kubectl
exec` hangs.

Fix interactive exec sessions hanging after you type 'exit'.

Add e2e test to cover noninteractive stdin: `echo a | kubectl exec -i <pod>
cat`

Add e2e test to cover psuedo-interactive stdin: `kubectl exec -i <pod> bash`

Prep for sending multiple data frames over multiple streams in remote command
test, which is more likely to find flakes (requires bump of spdystream
once an issue with the frame worker queues not being fully drained when
a goaway frame is received).
2015-09-04 10:40:53 -04:00
Piotr Szczesniak 6698257239 Merge pull request #13523 from roofmonkey/experimental-api-fixes
Experimental api fixes
2015-09-04 09:07:14 +02:00
Piotr Szczesniak 14f4d3ad0e Merge pull request #13425 from jszczepkowski/hpa-kind
Fixed kind to resource convertion in scale client.
2015-09-04 09:04:00 +02:00
Timothy St. Clair 2b7e758c3c Fixes the experimental api, which appeared to be completely broken.
Fix for rebase with nikhiljindal/deploymentController
2015-09-03 21:56:45 -05:00
k8s-merge-robot 5d8a6049be Merge pull request #12848 from wojtek-t/private_watch_cache
Auto commit by PR queue bot
2015-09-03 13:06:18 -07:00
Nikhil Jindal aeeffbd665 Merge pull request #13419 from nikhiljindal/deploymentController
Adding support for deployments to client library
2015-09-02 14:26:50 -07:00
k8s-merge-robot f5c2d90c3a Merge pull request #12293 from deads2k/testclient-specific-reaction
Auto commit by PR queue bot
2015-09-02 09:18:24 -07:00
nikhiljindal 5fb50cc1b6 Adding support for deployments to unversioned client 2015-09-01 20:15:58 -07:00
deads2k 7e180c258d update testclient for delegating reaction chain 2015-09-01 12:58:35 -04:00
Dan Mace da5e4d7bd5 Rolling updater availability enhancements
Enhance the rolling updater to support maintaining minimum pod
availability for the duration of the update process.
2015-09-01 12:54:08 -04:00
Jerzy Szczepkowski a2ca4954f4 Fixed kind to resource convertion in scale client.
Fixed kind to resource convertion in scale client.
2015-09-01 10:18:27 +02:00
Wojciech Tyczynski d318b22f65 Move WatchCache to pkg/storage 2015-08-31 09:49:12 +02:00
Wojciech Tyczynski e202f9c797 Add resource version to Store Replace params. 2015-08-31 09:49:12 +02:00
k8s-merge-robot 98801225d6 Merge pull request #13279 from pmorie/client-host-err
Auto commit by PR queue bot
2015-08-28 12:02:59 -07:00
Paul Morie e9851c6dea Quote malformed host values in unversioned client helper 2015-08-27 17:30:31 -04:00
Mike Danese 8460e3913d move daemon controller to the experimental api 2015-08-27 11:47:35 -07:00
Jerzy Szczepkowski 08594dab8c Added ProxyGet method to services client.
Added ProxyGet method to services client.
2015-08-26 16:38:13 +02:00
Filip Grzadkowski 1a8b400c3e Merge pull request #13147 from mwielgus/hpa_impl
Implementation of HorizontalPodAutoscaler
2015-08-26 15:36:27 +02:00
Marcin Wielgus df0a0ed37e Implementation of HorizontalPodAutoscaler 2015-08-26 14:51:54 +02:00
Yu-Ju Hong 9f508e9422 Merge pull request #13076 from invenfantasy/master
Cleanup deprecated Forever function
2015-08-25 10:07:10 -07:00
Nikhil Jindal a945785409 Merge pull request #13081 from mwielgus/hpa_heapster_query
Scale subresource and Heapster querying in HorizontalPodAutoscaler
2015-08-24 18:54:28 -07:00
Jordan Liggitt 11b4a9601b Fix portforward test flake with GOMAXPROCS > 1 2015-08-24 17:11:44 -04:00
Andy Goldstein 725aa9656e Correctly error when all port forward binds fail
Fix port forwarding code such that if all local binds fail, an error is
returned instead of waiting for an interrupt.
2015-08-24 10:56:26 -04:00
Marcin Wielgus 1ce8bb7bb2 Scale subresource querying in HorizontalPodAutoscaler 2015-08-24 16:42:25 +02:00
caogaojin 60cb4406e9 Cleanup deprecated Forever function
Since util.Forever function has been deprecated, we should cleanup these
pieces of code.
2015-08-24 10:31:59 +08:00
Saad Ali 264a658afa Merge pull request #12869 from vishh/daemon-registry-client
Daemon registry client
2015-08-20 17:24:11 -07:00
Saad Ali 50de5404dd Merge pull request #12772 from smarterclayton/allow_nil_reflector
Allow a nil expectedType in cache.Reflector
2015-08-20 11:08:30 -07:00
Wojciech Tyczynski 3b3a706eef Merge pull request #12792 from jszczepkowski/hpa-controller2
Experimental client for horizontal pod autoscaler.
2015-08-20 10:50:02 +02:00
Wojciech Tyczynski 03413ddb4a Merge pull request #12782 from wojtek-t/cacher_deadlock
Fix deadlock in the cacher
2015-08-20 08:27:15 +02:00
Clayton Coleman f1e4f652d0 Allow a nil expectedType in cache.Reflector
Reflector currently requires a hard type, which prevents
cache.Reflector from being used generically (like a client
command that uses the resource.Builder to get objects of
any type). Relaxing this restriction when expectedType is nil.
2015-08-19 18:30:37 -04:00
Saad Ali ecc6ce773b Merge pull request #12847 from jszczepkowski/prefix-cleanup
Cleanup of api path creation in client tests.
2015-08-19 14:50:42 -07:00
Saad Ali 25dfc9932f Merge pull request #12913 from gmarek/remove_healthcheck
Remove unused (?) HealthCheck from KubeletClient
2015-08-19 14:49:00 -07:00
Vishnu Kannan ec22c2dd82 Address comments. 2015-08-19 14:13:02 -07:00
Saad Ali d42864b0ad Merge pull request #12112 from JanetKuo/update-kubectl-get-pods-running
Hide terminated pods in 'kubectl' Printer by default
2015-08-19 12:51:18 -07:00
gmarek 33c894a6ae Remove unused (?) HealthCheck from KubeletClient 2015-08-19 14:35:43 +02:00
gmarek 3c907b33e1 Remove external function setting Kubelet flags 2015-08-19 13:20:41 +02:00
Jerzy Szczepkowski f2e15fd538 Experimental client for horizontal pod autoscaler.
Implementation of experimental client for horizontal pod autoscaler. Placeholder implementation for controller for horizontal pod autoscaler.
2015-08-19 09:39:17 +02:00
Jerzy Szczepkowski 40b121b64c Cleanup of api path creation in client tests.
Cleanup in client tests: use testapi.ResourcePathWithPrefix function instead of manually create api path.
2015-08-19 09:25:12 +02:00
Wojciech Tyczynski 90bf334fd1 Fix deadlock in the cacher 2015-08-19 08:17:25 +02:00
Janet Kuo 44a7a52a94 Hide failed/succeeded pods in 'kubectl get pods' by default 2015-08-18 13:47:19 -07:00
Ananya Kumar 4a148f99d6 Add client code 2015-08-18 12:58:50 -07:00
Kris Rousey 9cea046f42 Get the unversioned client to build 2015-08-18 10:03:19 -07:00
Kris Rousey 7ba5b058cc Moving client libs to unversioned dir 2015-08-18 10:03:19 -07:00