-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Graduate SeccompDefault
feature to stable / GA
#115719
Graduate SeccompDefault
feature to stable / GA
#115719
Conversation
/priority important-soon |
62e79a0
to
0f7a5cf
Compare
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
/label api-review |
/test pull-kubernetes-e2e-gce |
/triage accepted |
e459ac4
to
79a468e
Compare
Updating the required code and docs for SeccompDefault to go GA, which now means that we enable the feature per default. Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
79a468e
to
37caed0
Compare
/approve will leave lgtm to node review |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt, saschagrunert, SergeyKanzhelev 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 |
/test pull-kubernetes-unit |
this PR by itself LGTM. folks have pointed out that the KEP text needs to match this PR. I am ok either to land this first and then update the KEP or the other way around. |
@saschagrunert would you please also address the todo comment that is relatively related: kubernetes/pkg/kubelet/kuberuntime/kuberuntime_sandbox.go Lines 171 to 174 in e55f2a9
this PR is lgtm /lgtm (hold if you will decide to address TODO as part of this PR, feel free to unhold any moment) |
LGTM label has been added. Git tree hash: ba30bddf1e5c89c8d9af6ae22b4bba778159069f
|
@SergeyKanzhelev I'm going to follow-up on the /unhold See #115898 |
My suggestion for a changelog entry (we can revise these after merge): Graduated seccomp profile defaulting to GA.
Set the kubelet `--seccomp-default` flag or `seccompDefault` kubelet configuration field to `true` to make
pods on that node default to using the `RuntimeDefault` seccomp profile.
Enabling seccomp for your workload can have a negative performance impact depending on the kernel and
container runtime version in use.
Guidance for identifying and mitigating those issues is outlined in the Kubernetes
[seccomp tutorial](https://k8s.io/docs/tutorials/security/seccomp). Should we also track work to update related docs, such as https://kubernetes.io/docs/concepts/security/security-checklist/? |
Thanks, changed the release notes as suggested 👍 Yes, docs updates will be part of the usual enhancement process and I'm following-up on them in the next weeks. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Updating the required code and docs for
SeccompDefault
to go GA, which now means that we enable the feature per default.Which issue(s) this PR fixes:
Refers to kubernetes/enhancements#2413
Special notes for your reviewer:
cc @kubernetes/sig-node-api-reviews
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: