Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manager should support retrying to start runnables with backoff
This changeset adds the ability for a Manager to not fail immediately if a wait.Backoff parameter is given as RunnableRetryBackoff in Options. Currently, if a runnable fails to run the Start operation is never retried which could cause the manager and all webhooks to stop and the deployment to go into CrashLoopBackoff. Given the eventual consistency of controllers and managers cooperating with other controllers or the api-server, allow some sort of backoff by trying to start runnables a number of times before giving up. Signed-off-by: Vince Prignano <vincepri@vmware.com>
- Loading branch information
Showing
3 changed files
with
98 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters