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 support for user namespaces #127
Comments
|
This work is being done by @pweil- and is reviewed by @derekwaynecarr, it is sponsored by @kubernetes/sig-node |
|
@derekwaynecarr Could you help create a user story card for this feature? |
|
@derekwaynecarr can you confirm that this feature targets alpha for 1.5? |
Yes, this feature is experimental only so it would be considered alpha. |
|
@derekwaynecarr @pweil- can you confirm that this item targets beta in 1.6? |
|
@derekwaynecarr, the proposal kubernetes/kubernetes#34569 was closed by bot due to inactivity. @pweil-, in kubernetes/kubernetes#34569 (comment) you've proposed the approach pweil-/kubernetes@16f29eb which changes the group of |
|
@pweil-, I also wonder if similar to docker's |
|
@adelton in the end, I think having this be transparent to Kubernetes is the right approach. Whether that be something like shiftfs or implementation in the CRI (moby/moby#28593). You are correct that my existing proposal is not currently tracked in an open PR anymore. The reasoning behind using the chgrp was to follow our |
|
Thanks @pweil-. When you say transparent, you mean that nothing should be needed to be added to code or to configuration on Kubernetes' side to allow running under docker with As for the I have now filed kubernetes/kubernetes#55707 as an alternative approach where I make the remapped uid/gid an explicit option, and use those values to chown/chgrp the necessary directories. |
that would be ideal. Whether that is feasible (or more likely, feasible in an acceptable time frame) is another question
Yes
|
Ideally, the pod would specify how many distinct uids/gids it would require / list of uids it wants to see inside of the containers, and docker or different container runtime would setup the user namespace accordingly. But unless docker also changes ownership of the volumes mounted to the containers, Kubernetes will have to do that as part of the setup. |
|
@pwel-, what is the best way to get some review and comments on kubernetes/kubernetes#55707, to get it closer to mergeable state? |
|
@pweil- ^ |
|
@adelton I would try to engage the sig-node folks either at their Tuesday meeting or on slack: https://github.com/kubernetes/community/tree/master/sig-node |
|
@derekwaynecarr, could you please bring kubernetes/kubernetes#55707 to sig-node's radar? |
|
@pweil- @derekwaynecarr any progress on this feature is expected? |
|
/milestone v1.25 |
|
Hello @rata Just checking in as we approach enhancements freeze on 18:00 PST on Thursday June 16, 2022. For note, This enhancement is targeting for stage Here's where this enhancement currently stands: (updated on June 9, 2022)
KEP PR #3275 addressed all checkboxes! For note, the status of this enhancement is marked as |
|
@parul5sahoo I think the place-holders weren't replaced in your message. So, to avoid confusions, let me tell you that:
Thanks! |
|
@parul5sahoo well, it happened faster. Now all the check boxes you mentioned are done :) |
|
@rata apologies for the misunderstanding created because of that, it was the first time I did reach out to a KEP owner as an Enhancements shadow, thank you for understanding and verifying it. |
|
@parul5sahoo no problem, I understood everything! And thanks again :) |
|
opened a PR to add the CRI changes: kubernetes/kubernetes#110535 |
|
Hello @rata! 1.25 Release Docs Shadow here. Does this enhancement work planned for 1.25 require any new docs or modification to existing docs? If so, please make sure to open a PR against the This PR can be just a placeholder at this time and must be created before August 4. Also, take a look at Documenting for a release to get yourself familiarize with the docs requirement for the release. |
|
k/k PR is open for a few days now: kubernetes/kubernetes#111090 |
|
Hi @rata Checking in once more as we approach 1.25 code freeze at 01:00 UTC on Wednesday, 3rd August 2022. Please ensure the following items are completed:
Please verify, if there are any additional k/k PRs besides the ones listed above. Please plan to get the open PRs merged by the code freeze deadline. The status of the enhancement is currently marked as Also kindly update the issue description with the relevant links for tracking purposes. Thank you so much! |
|
@wojtek-t can you please update the PR description (or maybe I can join some team and do it myself? I'm part of the k8s org for several years) with this? Thanks! k/k PRs:
docs PR: enhancements PRs: blog post PR: |
|
@wojtek-t friendly ping? |
|
I don't think we need to have them in the description - it's enough for them to be linked to this issue. |
|
Hello @rata Just a gentle reminder from the enhancement team as we approach 1.25 code freeze at 01:00 UTC on Wednesday, 3rd August 2022 (which is two days from now). Please plan to have the open k/k PR merged before then. The status of this enhancement is currently marked as |
|
Hello Unfortunately, this enhancement did not meet the code freeze criteria because there are still unmerged k/k code PRs. The RT leads are evaluating the exception request & will get back! Thank you! /milestone clear |
derekwaynecarr commentedOct 10, 2016
•
edited by wojtek-t
Enhancement Description
k/enhancements) update PR(s):k/k) update PR(s):k/website) update PR(s):Please keep this description up to date. This will help the Enhancement Team to track the evolution of the enhancement efficiently.
The text was updated successfully, but these errors were encountered: