-
Notifications
You must be signed in to change notification settings - Fork 2k
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
resources: new oom_score_adj field #23259
base: main
Are you sure you want to change the base?
Conversation
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.
LGTM!
.changelog/23259.txt
Outdated
```release-note:improvement | ||
resources: Added new oom_score_adj field | ||
``` |
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.
We haven't wired this up to the drivers yet, so if we merge this and end up shipping Nomad 1.8.1 before that work is complete, the changelog entry won't make much sense. Maybe we should hold off adding the changelog entry until all the components (and documentation!) are in place? That way we can safely ship this code in main
without stressing about 1.8.1.
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 can also remove the backport labels for now.
Adds anoom_score_adj
field to resources that only accepts positive values. A task can mark itself as more likely to be OOM killed, but not less likely.Relates to #11087
Update: After discussing this with @schmichael, we decided to put this PR on hold and implement the feature via driver config for now.