kubernetes/pkg/registry/generic
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
..
etcd Provide backpressure to clients when etcd goes down 2015-11-04 16:05:12 -05:00
rest Connect should be passed a Responder interface 2015-10-13 15:05:14 -04:00
doc.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
matcher_test.go Filter List in Storage level to avoid additional copies. 2015-09-10 09:49:50 +02:00
matcher.go Make rootscoped resource no namespace selectable field 2015-10-31 10:52:21 +08:00