Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a maximum number of attempts when restarting a service #231

Closed
claustres opened this issue Mar 15, 2021 · 1 comment
Closed

Add a maximum number of attempts when restarting a service #231

claustres opened this issue Mar 15, 2021 · 1 comment

Comments

@claustres
Copy link
Member

The base restart policy is on-failure with default options meaning never give up to restart a service. This typically leads to tons of alerts when eg a database service fails because after that all connected apps/jobs will also fail recurrently on restart.

Maybe it is a good idea to set a maximum number of attempts before giving up to restart a service. It could also help to limit alerts by playing with the delay and window options.

@cnouguier
Copy link
Contributor

Is it still relevant since we moved to K8S ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants