-
Notifications
You must be signed in to change notification settings - Fork 254
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
Collect the data on the actual oomkilled container instead of the first one #1192
Collect the data on the actual oomkilled container instead of the first one #1192
Conversation
019aa50
to
a32c2fb
Compare
a32c2fb
to
b5b7646
Compare
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.
looks good
left small comment
helm/robusta/values.yaml
Outdated
@@ -160,7 +160,6 @@ builtinPlaybooks: | |||
rate_limit: 3600 | |||
actions: | |||
- pod_oom_killer_enricher: {} |
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.
I think we should state explicitly attach_logs: true
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.
done
|
||
|
||
class OomKillParams(ActionParams): | ||
attach_logs: Optional[bool] = True |
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.
For backward compatibility, I think the default should be false
If someone is using this action, on a different playbook, he will suddenly start to get the logs.
He might have already configured it with logs_enricher
, in which case he'll get the logs twice, or configured it without the logs_enricher
and now will start to get logs
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.
done
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.
nice work!
No description provided.