-
Notifications
You must be signed in to change notification settings - Fork 41.4k
runtime/default Seccomp Profile in kubeadm control-plane components. #100234
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
Conversation
Hi @vinayakankugoyal. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
we are in code-freeze for 1.21. please link to the k/enhancement issue in the PR description..
note that normally PRs are created after the KEPs are marked as "implementable". if you wish to test this locally you can create a kind cluster with a custom built kubeadm binary. |
@neolit123 - this is something that I noticed which going through the code, I don't think we need the KEP to make this change, this has been added to all the manifests in #93095. It should be safe to add this. But since we are in code-freeze already we might as well include this in the KEP. |
@neolit123 - now that the KEP is merged and is marked implementable. PTAL. Thanks! |
/sig security |
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.
/triage accepted
/priority important-soon
/ok-to-test
/milestone v1.22
suggestion for a release note change (under "Does this PR introduce a user-facing change?"):
|
Updated, PTAL. Thanks for reviewing! |
we assumed on the KEP that this would not break existing users, related to setup of their hosts. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: neolit123, vinayakankugoyal The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR sets the seccomp profile for the control-plane components in kubeadm to runtime/default. Seccomp (secure computing mode) is used to restrict the set of system calls applications can make. Most container runtimes provide a sane set of default syscalls that are allowed or not. The defaults can easily be applied in Kubernetes by using the runtime/default annotation or setting the seccomp type in the security context of a pod or container to RuntimeDefault.
How tested:
Please note I had to build kind from source, which is requirement for 1.21+ See this slack thread.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Setting the seccompProfile for these components to runtime/default is safe and we have been doing this in kube-up for a while.
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: