Commit Graph

978 Commits (de5f0f73e792af164ccce0891be8c4cbd3da1230)

Author SHA1 Message Date
k8s-merge-robot 699c91d4c4 Merge pull request #17026 from mikedanese/spam
Auto commit by PR queue bot
2015-11-09 12:20:09 -08:00
Mike Danese c91dac3270 up the log level on a super spammy statement 2015-11-09 11:26:30 -08:00
Wojciech Tyczynski d80e0e837c Merge pull request #10707 from kargakis/logs-with-resource-builder
logs: Use resource builder
2015-11-09 16:40:10 +01:00
k8s-merge-robot cf25625d46 Merge pull request #16929 from krousey/basic_auth_cleanup
Auto commit by PR queue bot
2015-11-07 09:58:27 -08:00
k8s-merge-robot b8303a3983 Merge pull request #16859 from smarterclayton/allow_incluster_config
Auto commit by PR queue bot
2015-11-07 04:47:35 -08:00
k8s-merge-robot 9981f99949 Merge pull request #16849 from feihujiang/cleanupDeprecatedV1beta1Content
Auto commit by PR queue bot
2015-11-07 04:15:32 -08:00
k8s-merge-robot 354c6f3b12 Merge pull request #16834 from caesarxuchao/GroupVersion-Object
Auto commit by PR queue bot
2015-11-07 03:43:30 -08:00
k8s-merge-robot d71a667aab Merge pull request #16821 from caesarxuchao/restclient-timeout
Auto commit by PR queue bot
2015-11-07 03:11:26 -08:00
Kris 0a4ee958c7 Use http's basic auth instead of manual encoding 2015-11-06 10:19:01 -08:00
k8s-merge-robot c7d5f3cdca Merge pull request #16881 from krousey/client_path
Auto commit by PR queue bot
2015-11-06 01:11:21 -08:00
feihujiang eac8d6a997 Cleanup the content of deprecated V1beta1 2015-11-06 13:42:51 +08:00
k8s-merge-robot 6b7115067d Merge pull request #16807 from smarterclayton/server_backpressure_on_etcd_down
Auto commit by PR queue bot
2015-11-05 21:19:30 -08:00
Chao Xu 15e6ca5ac5 rename to GroupVersion and rename the one in type.go to GroupVersionForDiscovery 2015-11-05 14:52:58 -08:00
Kris 9e1afbceb0 Remove bad heuristic path manipulation 2015-11-05 14:42:36 -08:00
Clayton Coleman 2dc2db5d02 Config consumers should be able to recognize an empty config
For UX, it would be better if we presented an error for validation that
is "this config is empty" rather than the inaccurate "no server name" or
"no context name" errors. Returns a typed error.
2015-11-05 15:00:23 -05:00
kargakis 4fdb6d1331 logs: Use resource builder 2015-11-05 14:54:55 +01:00
Wojciech Tyczynski ce95f68d2a Changes in codec interfaces 2015-11-05 13:52:22 +01:00
Chao Xu ac0b7b5d3b remove RESTClient.Timeout 2015-11-04 16:48:24 -08:00
Chao Xu 0512d45986 document RESTClient.timeout 2015-11-04 16:13:55 -08:00
Clayton Coleman 3da15535b6 Provide backpressure to clients when etcd goes down
When etcd is down today we don't specifically handle the error involved,
which means clients get a generic 500 error. This commit adds a formal
error type internally for both WatchExpired and EtcdUnreachable, and
then converts them to api/errors before returning to the client. It also
upgrades the client to retry on any 429 or 5xx error that has a
Retry-After header, instead of just 429.

In combination, this allows the apiserver to exert backpressure on
controllers that are hotlooping.  Picked 2 seconds by default, but we
could potentially ramp that up even further in a future iteration.
2015-11-04 16:05:12 -05:00
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