KEP-5758: Per-container ulimits configuration#5762
KEP-5758: Per-container ulimits configuration#5762k8s-ci-robot merged 1 commit intokubernetes:masterfrom
Conversation
acb35a6 to
e042845
Compare
|
/cc @thockin Though it's been over ten years since this feature was first proposed, you might still be interested in it :) |
|
@kannon92 Thank you so much for being willing to serve as the PRR reviewer for this KEP. |
|
Left a few comments from PRR side but I'd like to see a review from container runtime folks (cc @haircommander @saschagrunert @sohankunkerkar @mikebrow). |
|
ping @kannon92 @haircommander @samuelkarp I have responded to all comments. Given that the KEP freeze deadline is very close, we may need to accelerate our efforts. Also ping @mrunalp @SergeyKanzhelev |
6664f34 to
b2ea196
Compare
|
Let me explain the changes I made: Only Pods with PSS in Privileged mode can use the ulimit feature Regardless of whether the pod is in Changed |
|
Okay given we're restricting to privileged PSA, I think this is safe to try. It's been asked for a number of times over the years, and I think we have space to iterate on how to make it safe for baseline too (maybe baseline can only set soft or something, to be discussed in the future) /lgtm @tallclair WDYT about the PSA changes? @mikebrow @samuelkarp any additional thoughts? |
|
ping @kannon92 @samuelkarp @mikebrow @thockin Apologies for the repeated pings. Since we are just one day away from the KEP freeze, I am very much looking forward to your further suggestions. If possible, I will address or resolve all comments again before the KEP freeze |
Thank you very much. My github page didn’t refresh this comment in time, so I posted the one above. |
mikebrow
left a comment
There was a problem hiding this comment.
/lgtm
no additional comments for this stage
| "nice", | ||
| "rtprio", | ||
| "stack", | ||
| "nproc", |
There was a problem hiding this comment.
I would suggest dropping support for this in favor of pids cgroup support that we have.
There was a problem hiding this comment.
+1, let's drop nproc for now.
|
@mrunalp Thank you for your comments. I have addressed all of them. Please take another look. |
|
@mrunalp This PR needs another lgtm since it has been updated. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: HirazawaUi, kannon92, mrunalp, SergeyKanzhelev The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Uh oh!
There was an error while loading. Please reload this page.