-
Notifications
You must be signed in to change notification settings - Fork 360
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
Kubearmor restarts all pods in a Kubernetes cluster after installation. #1935
Comments
I found that the issue is as follows:
|
@thungrac Correct, AppArmor annotations are security annotations, and Kubernetes treats them as immutable. Once a pod is created, these annotations cannot be modified or patched. To apply or modify an AppArmor profile, the pod must be restarted or recreated with the required annotation. This is why restarting the pod is necessary for the AppArmor enforcer to function properly in KubeArmor. |
The side effects are as follows:
Suggested improvements:
|
Bug Report
General Information
To Reproduce
container.apparmor.security.beta.kubernetes.io
will be restarted.Expected behavior
All pods continue running as usual.
addition info
kubearmor-controller log is:
The text was updated successfully, but these errors were encountered: