Commit Graph

572 Commits (ba95c8a1769338a8d9284f4a4ce9618b3b19380c)

Author SHA1 Message Date
Daniel Smith a2953fdc7e Make endpoint controller use framework 2015-04-17 15:21:51 -07:00
Daniel Smith da5111891c Fix selector handling in listers.go. 2015-04-17 15:21:37 -07:00
Daniel Smith 8a17ea4894 Add Delete method to endpoints client. 2015-04-17 14:55:19 -07:00
Kris Rousey 81497f3ed2 Changing the scheduler package to use *api.Pod instead of api.Pod to
avoid unnecessary shallow copies. The change rippled through a lot of
code.
2015-04-17 13:34:31 -07:00
Brian Grant a927c239fe Merge pull request #6881 from nikhiljindal/errHandle
Registering a serviceErrorHandler with go-restful to always return JSON responses
2015-04-16 16:44:17 -07:00
nikhiljindal f9132dc572 Registering serviceErrorHandler with go-restful 2015-04-16 14:59:44 -07:00
Jeff Lowdermilk 97e4549170 Merge pull request #6680 from deads2k/deads-change-kubeconfig-chain
change kubeconfig loading chain
2015-04-16 13:57:31 -07:00
Eric Tune e300bf3e13 Merge pull request #6922 from fabianofranz/fix_config_dir_creation
Create complete parent dir structure when saving config to file
2015-04-16 13:40:32 -07:00
Quinton Hoole 31dc4851ef Merge pull request #6870 from a-robinson/client
Make client service requests use the default timeout now that external load balancers are created asynchronously
2015-04-16 11:41:05 -07:00
fabianofranz f71aa6ad38 Create complete parent dir structure when saving config to file 2015-04-16 14:17:54 -03:00
deads2k de4be5422c change kubeconfig loading order 2015-04-16 13:05:09 -04:00
Alex Robinson 4e7248e47b Make client service requests use the default timeout now that external
load balancers are created asynchronously.
2015-04-15 18:37:53 +00:00
Wojciech Tyczynski afb94c43b1 Fix listing nodes in scheduler 2015-04-15 14:26:25 +02:00
Derek Carr 9b6ba23622 Merge pull request #6761 from deads2k/deads-kubeconfig-squash
add flattening and minifying options to config view
2015-04-14 11:45:39 -04:00
deads2k bac5cbbe82 add flattening and minifying options to config view 2015-04-14 10:23:10 -04:00
Jordan Liggitt 8faf02ba58 Make secrets client honor namespace 2015-04-13 21:17:09 -04:00
Fabio Yeon e99141de0d Merge pull request #6729 from smarterclayton/chaosclient
Add a new Chaos transport that can simulate network failure and add it to the kubelet
2015-04-13 16:06:53 -07:00
deads2k e7baa94404 allow selective removal of kubeconfig override flags 2015-04-13 13:14:23 -04:00
markturansky ac4d34e5d7 Added PV & PVC client tests 2015-04-13 10:10:52 -04:00
markturansky d8c87e93dc Adding missing UpdateStatus methods to client 2015-04-13 10:10:52 -04:00
Clayton Coleman 0146e318f5 Allow client.Config to wrap the underyling Transport 2015-04-11 13:20:48 -04:00
Clayton Coleman 66e746bade Add a transport that can simulate random network errors 2015-04-11 13:20:48 -04:00
Daniel Smith 66d55e0959 Merge pull request #6546 from lavalamp/fix
Add to controller framework; use in scheduler
2015-04-10 16:20:17 -07:00
Daniel Smith 5f7715f0e9 Make scheduler not miss deletion events even in the case of a resync. 2015-04-10 14:05:08 -07:00
Daniel Smith 880f922bb6 Add easy setup for simple controller
Also add tests; coverage up to 86.7%
2015-04-10 14:05:07 -07:00
Deyuan Deng 868e05ce96 Remove nodeinfo endpoint from kubelet 2015-04-10 15:47:32 -04:00
Daniel Smith 8dfd7001f5 Merge pull request #6671 from smarterclayton/ensure_body_is_closed
Reorganized Request.DoRaw() to guarantee streams are closed
2015-04-10 11:46:42 -07:00
Daniel Smith e2093798cb Merge pull request #6675 from wojtek-t/nodes_support_field_selector
FieldSelector for node List()
2015-04-10 10:30:55 -07:00
Timothy St. Clair 2b60111fca Performance change to option enable client.QPS, client.Burst
and change default on max_requests_inflight.
2015-04-10 07:53:54 -05:00
Wojciech Tyczynski 88eb0b0295 FieldSelector for node List() 2015-04-10 12:53:16 +02:00
Clayton Coleman 852ef7b637 Reorganized Request.DoRaw() to guarantee streams are closed
Added a test to verify 429 triggers a client retry based on
header. Forced resp.Body.Close() to close after each request,
which allows Golang to reuse the TCP connection to the server
(should reduce connection establishment under retries).
Possibly fixed a server leak of request bodies.
2015-04-10 01:10:35 -04:00
Daniel Smith 629d94657e Merge pull request #6624 from gmarek/status_to_subresource
Update NodeStatus use subresources.
2015-04-09 16:00:15 -07:00
Jeff Lowdermilk 96076eb129 Merge pull request #6585 from deads2k/deads-config-takes-factory
make kubectl config behave more expectedly
2015-04-09 14:54:55 -07:00
Daniel Smith 71dd4ddc52 Merge pull request #6627 from bprashanth/watcher_cancel
Fix RunUntil and stop leaking watch channel on etcd error
2015-04-09 12:47:54 -07:00
deads2k b2e3f2185e make kubectl config behave more expectedly 2015-04-09 15:43:57 -04:00
Prashanth Balasubramanian 5234c2dc82 Fix RunUntil and stop leaking watch channel on etcd error 2015-04-09 11:03:30 -07:00
Andy Goldstein c07e98b7f5 Fix flakey port forward test
Only simulate data for the data stream, not for the error stream too.

Fixes #6529
2015-04-09 13:18:51 -04:00
gmarek ccc56d3c3c Update NodeStatus use subresources. 2015-04-09 14:07:40 +02:00
Vish Kannan b12d75d0ee Merge pull request #6610 from markturansky/fifos_typos
Fixed typos in FIFO comments
2015-04-08 18:08:42 -07:00
Vish Kannan 844e375ceb Merge pull request #6603 from nikhiljindal/encoder
Removing some references to v1beta1 from test code
2015-04-08 18:06:32 -07:00
markturansky e5f280b79e fixed typos 2015-04-08 21:00:48 -04:00
nikhiljindal 08d9e244f7 Removing some references to v1beta1 from test code 2015-04-08 17:28:06 -07:00
Daniel Smith 43ec88fda5 Merge pull request #6179 from bprashanth/ts_ttl_scheduler
Modeler uses a ttl store for assumed pods
2015-04-08 15:25:05 -07:00
Clayton Coleman 4a31da0808 Merge pull request #6579 from deads2k/deads-fix-stream
make .Stream handle error status codes
2015-04-08 18:21:06 -04:00
Prashanth Balasubramanian a7864aa230 Scheduler uses TTLStore for assumed pods 2015-04-08 15:01:04 -07:00
Vish Kannan 094cbcc6fe Merge pull request #6074 from derekwaynecarr/reflector_last_sync_resource_version
Expose last sync resource version on reflector
2015-04-08 14:56:33 -07:00
derekwaynecarr 9df41301f0 Expose last sync resource version 2015-04-08 17:09:06 -04:00
deads2k dbda3f7303 make .Stream handle error status codes 2015-04-08 13:52:16 -04:00
Masahiro Sano d04cc5ced4 List in NodesInterface takes label selector 2015-04-08 23:41:27 +09:00
Daniel Smith c1390a0836 version field selector field names in the client 2015-04-07 16:59:57 -07:00