-
Notifications
You must be signed in to change notification settings - Fork 634
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 oom-score-adj option while running #1255
Conversation
@@ -331,3 +332,14 @@ func TestRunWithFluentdLogDriverWithLogOpt(t *testing.T) { | |||
assert.Equal(t, true, strings.Contains(logData, "test2")) | |||
assert.Equal(t, true, strings.Contains(logData, inspectedContainer.ID)) | |||
} | |||
|
|||
func TestRunWithOOMScoreAdj(t *testing.T) { |
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 it works well on docker because I have docker added in the sudo'ers group.
Code here shows rootless mode cannot be supported: https://github.com/moby/moby/blob/cf867587b9dc8edf92efd8372fcc6f86f117e386/daemon/daemon_unix.go#L1642-L1656
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.
Green after rerun 6 times...
LGTM
@fuweid Do you remember what is this most failed job ? |
This PR adds support for --oom-score-adj on root mode only. Signed-off-by: Manu Gupta <[email protected]>
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.
Thanks
sorry, I should record it. Will post or file issue to track flaky cases |
This PR adds support for --oom-score-adj on
root mode only.
Testing details
Signed-off-by: Manu Gupta [email protected]