You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#3035 exposes some undesirable retry configuration in the deployment controllers. The controllers could be taking advantage of the latest RetryManager improvements which add time-based retries.
Here's a breakdown of how retry handling works for the various deployment controllers today:
DeploymentConfigController
Explicitly marked transient errors are retried indefinitely (rate limited)
All other nonfatal errors are retried once immediately
DeploymentController
Nonfatal errors are retried once immediately
DeployerPodController
All errors are retried once immediately
ConfigChangeController
Nonfatal errors are retried once immediately
ImageChangeController
Nonfatal errors are retried once immediately
For each controller and error class we can choose to retry indefinitely, up to a certain amount of time, or up to a certain number of times. Let's use this issue to define the requirements for each controller.
Consider that many important retries are implicitly occuring automatically based on periodic Reflector resyncs into FIFOs backing the controllers. So even with no explicit retry management we're re-processing the current state of things every once in a while.
That's true, but longer timeouts on the API server will make full resyncs from dropped watches less frequent. Artificially short resyncs become a performance issue.
That's true, but longer timeouts on the API server will make full resyncs from dropped watches less frequent. Artificially short resyncs become a performance issue.
Totally agree, just wanted to point out that we shouldn't actually miss retries entirely today, but that they'll happen inefficiently without resolution of this issue.
Still needs work, and also need to audit error logging/event surfacing of each retry path. Pretty sure there are some places where we'll silently fail after a single retry limit is exceeded.
Activity
ironcladlou commentedon Jun 12, 2015
Consider that many important retries are implicitly occuring automatically based on periodic Reflector resyncs into FIFOs backing the controllers. So even with no explicit retry management we're re-processing the current state of things every once in a while.
liggitt commentedon Jun 12, 2015
That's true, but longer timeouts on the API server will make full resyncs from dropped watches less frequent. Artificially short resyncs become a performance issue.
ironcladlou commentedon Jun 12, 2015
Totally agree, just wanted to point out that we shouldn't actually miss retries entirely today, but that they'll happen inefficiently without resolution of this issue.
ironcladlou commentedon Jul 1, 2015
My current impression is #2828 is higher priority than this issue. Should this be a p3?
smarterclayton commentedon Feb 20, 2016
What's the status of this (@Kargakis?)
0xmichalis commentedon Feb 22, 2016
If @ironcladlou hasn't worked on it already locally then I guess it still needs fixing...
ironcladlou commentedon Feb 22, 2016
Still needs work, and also need to audit error logging/event surfacing of each retry path. Pretty sure there are some places where we'll silently fail after a single retry limit is exceeded.
0xmichalis commentedon Jun 23, 2016
Superseded by #9468