-
Notifications
You must be signed in to change notification settings - Fork 25
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
Sidecar manager #37
Sidecar manager #37
Conversation
Skipping CI for Draft Pull Request. |
/test all |
// We want to avoid performing the same action multiple times for a parent if it contains multiple pods that need to be restarted. | ||
if _, exists := processedActionObjects[action.object.getKey()]; !exists { | ||
currentWarnings, err := action.run(ctx, c, action.object, logger) | ||
if err != nil { |
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.
With the current implementation we fail fast the restarting of all pods once there is an error for any pod.
Do we want to be more resilient? I think we also didn't do it in the implementation in reconciler.
We can log the error and create a restart warning for the pod here or we could do it in each run function.
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.
Added logging the error without breaking the loop.
/test all |
@werdes72: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
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.
/bark
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/hold |
@werdes72 @cnvergence Please approve and unhold if you don't need anything more to do |
See: #26