-
Notifications
You must be signed in to change notification settings - Fork 289
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
Restart crashed plugins #1236
Restart crashed plugins #1236
Conversation
e386275
to
4d59ca5
Compare
@@ -1187,6 +1187,13 @@ plugins: | |||
enabled: true | |||
port: 2115 | |||
targetPort: 2115 | |||
# -- Botkube Restart Policy on plugin failure. | |||
restartPolicy: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, to better understand: It will do the heatlhcheck each 10s and if it restarts 5 times, the plugin will be disabled with this setup, am I correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exactly, however I think that we can bump the disable threshold to ~10 because for now it's for the whole life of the plugin, until the botkube pod won't be restarted. I would like to change it to but probably in the follow-up PRs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left minor comment, thanks
4d59ca5
to
d0aa112
Compare
Co-authored-by: Josef Karasek josef@kubeshop.io
d0aa112
to
9f7b7fa
Compare
Co-authored-by: Josef Karasek <josef@kubeshop.io>
Description
Changes proposed in this pull request:
Restart crashed plugins based on Restart crashed plugins #1204
runningProcesses
to support plugin name in the context of a given configurationINFO[2023-09-07T17:05:44+02:00] Starting server on %q...:2115 component="Incoming Webhook Server
still todo:
Testing
Co-authored-by: Josef Karasek josef@kubeshop.io