kubernetes/pkg/registry
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
..
componentstatus Merge selectors with ListOptions. 2015-10-29 15:42:57 +01:00
controller Make rootscoped resource no namespace selectable field 2015-10-31 10:52:21 +08:00
daemonset Make rootscoped resource no namespace selectable field 2015-10-31 10:52:21 +08:00
deployment Merge pull request #16330 from mikedanese/deploy-ptr 2015-11-02 20:41:34 -08:00
endpoint Refactor code for creating Cacher. 2015-11-02 20:56:46 +01:00
event Make rootscoped resource no namespace selectable field 2015-10-31 10:52:21 +08:00
experimental/controller/etcd experimental. -> extensions. 2015-10-09 15:49:10 -07:00
generic Provide backpressure to clients when etcd goes down 2015-11-04 16:05:12 -05:00
horizontalpodautoscaler HorizontalPodAutoscaler API: removal of ResourceConsumption target, introduction of CPU request utilization & other cleanups. 2015-10-16 07:15:50 +02:00
ingress Make rootscoped resource no namespace selectable field 2015-10-31 10:52:21 +08:00
job Make rootscoped resource no namespace selectable field 2015-10-31 10:52:21 +08:00
limitrange refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
namespace Make rootscoped resource no namespace selectable field 2015-10-31 10:52:21 +08:00
node Merge pull request #16584 from wojtek-t/refactor_use_cacher 2015-11-03 01:10:13 -08:00
persistentvolume Make rootscoped resource no namespace selectable field 2015-10-31 10:52:21 +08:00
persistentvolumeclaim Make rootscoped resource no namespace selectable field 2015-10-31 10:52:21 +08:00
pod Refactor code for creating Cacher. 2015-11-02 20:56:46 +01:00
podtemplate refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
registrytest Merge pull request #15791 from abutcher/set-service 2015-10-30 06:55:16 -07:00
resourcequota Make rootscoped resource no namespace selectable field 2015-10-31 10:52:21 +08:00
secret Merge selectors with ListOptions. 2015-10-29 15:42:57 +01:00
service Move service strategy to registry/service package 2015-11-02 19:56:03 +08:00
serviceaccount Make rootscoped resource no namespace selectable field 2015-10-31 10:52:21 +08:00
thirdpartyresource experimental. -> extensions. 2015-10-09 15:49:10 -07:00
thirdpartyresourcedata Merge selectors with ListOptions. 2015-10-29 15:42:57 +01:00
doc.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00