Skip to content
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

feat: Enable seccomp profile defaulting #193

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

christinalau0
Copy link
Contributor

Reason for Change:

To use seccomp profile defaulting, you must run the kubelet with the --seccomp-default enabled for each node where you want to use it. If enabled, the kubelet will use the RuntimeDefault seccomp profile by default, which is defined by the container runtime, instead of using the Unconfined (seccomp disabled) mode. The default profiles aim to provide a strong set of security defaults while preserving the functionality of the workload.

Manually verified in the cluster (using crictl) that the Runtimedefault seccomp profile is set by default in all containers. https://kubernetes.io/blog/2021/08/25/seccomp-default/#trying-it-out

To override the default behavior, pods and containers can also manually set seccompProfile Unconfined.

Will add automated functional validation in kubernetes_test.go at a later time.

Issue Fixed:

Credit Where Due:

Does this change contain code from or inspired by another project?

  • No
  • Yes

If "Yes," did you notify that project's maintainers and provide attribution?

  • No
  • Yes

Requirements:

Notes:

@christinalau0
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@christinalau0 christinalau0 merged commit 660109e into Azure:master Oct 6, 2023
6 checks passed
@christinalau0 christinalau0 deleted the seccomp branch October 6, 2023 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants