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
..
2015-08-18 10:03:19 -07:00
2015-10-18 09:37:46 +08:00
2015-10-24 14:29:02 -04:00
2015-10-21 22:37:26 -04:00
2015-11-02 22:39:58 -05:00
2015-10-30 15:43:40 +01:00
2015-10-29 09:55:32 -07:00
2015-10-22 10:19:34 -07:00
2015-08-18 10:03:19 -07:00
2015-10-13 13:22:54 -07:00
2015-10-16 11:03:50 +08:00
2015-10-16 11:03:50 +08:00
2015-10-14 08:37:57 +02:00
2015-10-24 13:12:49 +02:00
2015-10-12 11:17:01 -04:00
2015-10-26 00:12:58 -07:00
2015-10-26 00:12:58 -07:00
2015-10-29 09:55:32 -07:00
2015-09-21 13:49:04 -06:00
2015-10-30 15:43:40 +01:00
2015-10-30 15:43:40 +01:00
2015-10-12 13:31:45 -07:00
2015-10-24 13:12:49 +02:00
2015-10-13 13:22:22 -07:00
2015-09-10 12:04:15 -07:00
2015-08-19 13:20:41 +02:00
2015-10-24 14:29:02 -04:00
2015-10-12 13:48:14 -07:00
2015-10-29 09:55:32 -07:00
2015-10-24 13:12:49 +02:00
2015-10-24 13:12:49 +02:00
2015-11-02 09:49:02 -08:00
2015-10-25 16:54:25 -07:00
2015-10-25 16:54:25 -07:00
2015-10-14 11:37:11 +02:00
2015-10-24 13:12:49 +02:00
2015-10-22 21:25:38 -07:00
2015-10-05 15:29:10 -04:00
2015-10-24 13:12:49 +02:00
2015-10-24 13:12:49 +02:00
2015-10-24 13:12:49 +02:00
2015-10-24 13:12:49 +02:00
2015-10-12 13:31:45 -07:00
2015-10-24 13:12:49 +02:00
2015-10-24 13:12:49 +02:00
2015-10-24 13:12:49 +02:00
2015-10-24 13:12:49 +02:00
2015-10-24 13:12:49 +02:00
2015-10-24 13:12:49 +02:00
2015-10-24 13:12:49 +02:00
2015-10-12 13:31:45 -07:00
2015-10-24 13:12:49 +02:00
2015-10-14 08:37:57 +02:00
2015-10-24 13:12:49 +02:00
2015-11-04 16:05:12 -05:00
2015-11-04 16:05:12 -05:00
2015-10-24 13:12:49 +02:00
2015-10-24 13:12:49 +02:00
2015-09-17 14:09:53 -07:00
2015-10-12 13:33:13 -07:00
2015-10-13 13:22:22 -07:00
2015-10-24 13:12:49 +02:00
2015-10-24 13:12:49 +02:00
2015-10-14 08:37:57 +02:00
2015-10-24 13:12:49 +02:00
2015-10-10 01:04:02 -04:00
2015-10-13 06:29:16 -07:00