Jordan Liggitt
b3157d1445
Ensure HPA has valid resource/name/subresource, validate path segments
2015-11-03 14:46:17 -05:00
k8s-merge-robot
c8fe00b94f
Merge pull request #16711 from liggitt/remotecommand_error
...
Auto commit by PR queue bot
2015-11-03 06:43:37 -08:00
Jordan Liggitt
ddae749111
Read error from failed upgrade attempts
2015-11-02 22:39:58 -05:00
Tim St. Clair
5cd5b80f9e
Set up new "metrics" API group.
...
This commit only adds 2 placeholder structs to the API, for the purposes
of separating the API group setup from the API discussion.
2015-11-02 09:49:02 -08:00
huangyuqi
b69b498235
use the defined constant variable
2015-11-02 15:32:53 +08:00
Mike Danese
9bdb860eeb
add apigroup installer and tests
2015-10-31 11:42:38 -07:00
Wojciech Tyczynski
aac55d4795
Unify List() signature in clients
2015-10-30 15:43:40 +01:00
k8s-merge-robot
a86d8780f8
Merge pull request #16082 from caesarxuchao/discover-1.0-server-new
...
Auto commit by PR queue bot
2015-10-29 23:45:16 -07:00
k8s-merge-robot
f4b2d8358f
Merge pull request #16179 from madhusudancs/master-out-of-disk
...
Auto commit by PR queue bot
2015-10-29 11:57:25 -07:00
k8s-merge-robot
1ecda94f0a
Merge pull request #15305 from mqliang/deamonSetList
...
Auto commit by PR queue bot
2015-10-29 11:25:52 -07:00
Chao Xu
69932aecb0
Let discoveryClient use RESTClient;
...
Ignore 403 and 404 error when discovering server-supported group/version
2015-10-29 09:55:32 -07:00
Madhusudan.C.S
ce257b5a0e
Use node out of disk condition in the scheduler while scheduling pods.
...
Set the out of disk node condition to unknown in the node controller if
the kubelet does not report its node condition in a long time. Update
node controller unit tests.
Implement a node condition predicate function that checks if a given
node satisfies the conditions defined by the predicate and if it
does, use that node for scheduling pods. The predicate function takes
both NodeReady and NodeOutOfDisk into consideration to determine if a
node is fit for scheduling pods.
The predicate is then passed to the node lister in the scheduler factory
so that the node lister can run the predicate function on the nodes when
schedling pods thereby omitting nodes that does not satisfy the
predicate.
Also update listers test.
2015-10-28 14:29:46 -07:00
Wojciech Tyczynski
579fa74977
Add test for TimeoutSeconds parameter
2015-10-28 15:48:36 +01:00
k8s-merge-robot
d228fd6d9c
Merge pull request #15809 from mikedanese/deploy
...
Auto commit by PR queue bot
2015-10-27 19:25:12 -07:00
Daniel Smith
424afd4cfb
Merge pull request #15971 from jlowdermilk/client-http-content-type
...
Set Content-Type in headers of client http requests
2015-10-27 15:33:32 -07:00
Daniel Smith
8524d392bf
Merge pull request #16178 from madhusudancs/kubelet-out-of-disk-no-master
...
Report node out of disk condition in the kubelet.
2015-10-27 14:28:03 -07:00
Wojciech Tyczynski
4d117dff6f
Fix timeoutSeconds parameter
2015-10-27 15:36:54 +01:00
Madhusudan.C.S
9c4424f0bd
Report out of disk as a node condition when node goes out of disk.
...
Define a new out of disk node condition and use it to report when node
goes out of disk.
Make a copy of loop range clause variable in node listers so that it
is available outside the for loop.
Also update/implement unit tests.
2015-10-26 15:01:20 -07:00
Wojciech Tyczynski
d47e21f19f
Reuse TCP connections in Reflector between resync periods.
2015-10-26 19:35:25 +01:00
k8s-merge-robot
a094a6e3de
Merge pull request #15815 from mqliang/lister_test
...
Auto commit by PR queue bot
2015-10-26 11:30:44 -07:00
k8s-merge-robot
dbf9a53de9
Merge pull request #15953 from smarterclayton/return_unmodified_error_on_neg
...
Auto commit by PR queue bot
2015-10-26 08:15:40 -07:00
Mike Danese
8acf01d620
add status subresource for deployment
2015-10-26 00:12:58 -07:00
Janet Kuo
54b743bc05
Change resource "ingress" to "ingresses" in URL path and kubectl
2015-10-25 16:54:25 -07:00
k8s-merge-robot
4f17b4b39c
Merge pull request #15961 from ncdc/stream-protocol-negotiation
...
Auto commit by PR queue bot
2015-10-25 07:26:41 -07:00
Clayton Coleman
5b137a64a8
Return errors directly from negotiation
...
Otherwise we're hiding problems in connectivity
2015-10-24 14:29:02 -04:00
Wojciech Tyczynski
f4d75e0a0a
Support timeout in watch requests
2015-10-24 13:12:49 +02:00
k8s-merge-robot
570a9dc18f
Merge pull request #15796 from caesarxuchao/fix-kubectl-api-versions
...
Auto commit by PR queue bot
2015-10-24 01:24:31 -07:00
Andy Goldstein
6fddb0e83a
Add httpstream.Handshake unit test
2015-10-23 14:09:41 -04:00
Filip Grzadkowski
ebee4bb357
Merge pull request #15954 from timothysc/non-blocking-event
...
Events should be non-blocking.
2015-10-23 14:06:00 +02:00
Saad Ali
76c5e0e553
Revert "Use KubeletPort reported in NodeStatus instead of cluster-wide master config"
2015-10-22 21:25:38 -07:00
k8s-merge-robot
a6b8e112ac
Merge pull request #12919 from gmarek/use_api_ports
...
Auto commit by PR queue bot
2015-10-22 19:53:41 -07:00
Jeff Lowdermilk
583246a22f
Set Content-Type in client http request header when posting objects
2015-10-22 13:50:28 -07:00
Chao Xu
eb3a80156a
let kubectl api-versions use the discovery client
2015-10-22 10:19:34 -07:00
Filip Grzadkowski
aff29f9b6b
Merge pull request #16044 from mikedanese/store-err
...
fix cache.Get error handling on bad key
2015-10-22 14:46:24 +02:00
Andy Goldstein
ad4f108bfa
Move port forward protocol constant to subpackage
...
Move port forward protocol name constant to a subpackage underneath
pkg/kubelet to avoid flags applicable to the kubelet leaking into
kubectl. Eventually, handlers for specific protocol versions will move
into the new subpackage as well.
2015-10-21 22:37:26 -04:00
Andy Goldstein
ff9883d9ec
Address code review comments
2015-10-21 21:53:51 -04:00
Andy Goldstein
6c7b519619
Move protocol handlers to separate files
2015-10-21 21:53:51 -04:00
Andy Goldstein
3d1cafc2c3
Add streaming subprotocol negotiation
...
Add streaming subprotocol negotiation for exec, attach, and port
forwarding. Restore previous (buggy) exec functionality as an
unspecified/unversioned subprotocol so newer kubectl clients can work
against 1.0.x kubelets.
2015-10-21 21:53:51 -04:00
k8s-merge-robot
f12171b430
Merge pull request #16020 from wojtek-t/fix_request_tests
...
Auto commit by PR queue bot
2015-10-21 16:42:54 -07:00
Mike Danese
933daef3f8
fix cache.Get error handling on bad key
2015-10-21 11:43:30 -07:00
gmarek
6d6cd8e46a
Use KubeletPort reporeted in NodeStatus instead of cluster-wide master config.
2015-10-21 17:19:31 +02:00
k8s-merge-robot
071d21257f
Merge pull request #15808 from caesarxuchao/fix-kubectl-explain
...
Auto commit by PR queue bot
2015-10-21 07:04:32 -07:00
Wojciech Tyczynski
433ccf0043
Fix broken Request test
2015-10-21 11:09:29 +02:00
k8s-merge-robot
36e1b80e4a
Merge pull request #14881 from lavalamp/fix-14617
...
Auto commit by PR queue bot
2015-10-20 14:14:18 -07:00
Timothy St. Clair
d00bf0c48c
"Force events to be non-blocking on the client side"
2015-10-20 11:52:09 -05:00
Steve Milner
8da2d4002f
Fixes remaining imports per #15319
2015-10-20 07:13:13 -04:00
Chao Xu
5f210c6473
fix names in comments
2015-10-19 16:10:02 -07:00
Chao Xu
6f0f87b629
make kubectl explain work for extensions API
2015-10-19 10:21:56 -07:00
mqliang
62846b8b3c
solve conflict after rebase
2015-10-19 21:56:24 +08:00
mqliang
b9f9944351
add unit test for StoreToJobLister
2015-10-19 21:56:24 +08:00