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
CRI: Pass namespace into to cri #73155
Comments
/sig kubelet |
/cc @Random-Liu |
Pass namespace into to CRI to let CRI implement has a way to reenforce isolation between namespaces. This commit adds an extra argument(namespace) to every method which invokes cri methods and GC thread would use empty namespace to get all container data. Fixes kubernetes#73155
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What would you like to be added:
Pass namespace into to cri to let cri implement has the namespace context and then reinforce the isolation of data between namespaces
Why is this needed:
For instance of cri-containerd, which depends on containerd mechanism. We found there are several issues regarding image in containerd (containerd/containerd#2889). Long story short, every image kubernetes pulled can be accessed by any kubernetes user in certain way without authorization. It is because cri only use one namespace in containerd "k8s.io".
Therefore, passing namespace to cri enhances the isolation and security.
The text was updated successfully, but these errors were encountered: