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

Made changes in support_matix.md about Amazon Linux 2 by HariVamsiK #1016

Closed
wants to merge 1 commit into from
Closed

Conversation

HariVamsiK
Copy link
Contributor

Signed-off-by: HariVamsiK [email protected]

Updated support_matrix.md file

Fixes #919

New update about KubeArmor support on Amazon Linux 2 (Kernel Version 5.10) with screenshots attached in the issue thread.

Previously KubeArmor supported only few LSM's. With the latest update in kernel version the support has been increased. This has been added to the support_matrix.md file as an update.

Comment on lines +28 to +29
Update: On Amazon Linux 2 with Kernel Version 5.10, Kubearmor is found to be running on systemd mode. The enforcement is sometimes partial with following supported LSM's: "Capability,Yama,Lockdown,SELinux,BPF". Refer [Issue](https://github.com/kubearmor/KubeArmor/issues/919).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @HariVamsiK, what does it mean by "enforcement is sometimes partial"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue was solved when I installed a previous version of kubearmor first, then removed it and installed the new version and doing a daemon reload. The command "kubearmor probe" gave the output as enforcement as partial when I installed the new version directly.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, the enforcement as Partial is not correct. In Amazon Linux-2, AppArmor is not available and in karmor probe we are only watching for AppArmor. We should ideally be also watching for BPF LSM too and we already have an issue for that here: kubearmor/kubearmor-client#211
Except that, in the screenshot you shared, KubeArmor is not running in the first place. The probe is just giving a note that enforcement will work if KubeArmor runs successfully.
Now with issue #919 user mentioned that they were not able to run KubeArmor v0.6 on AL-2. Can you confirm if you were able to successfully deploy KubeArmor (v0.6) or the latest version in systemd mode?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm that I was able to successfully deploy KubeArmor(v0.6) in systemd mode. The following screenshot depicts the same.
2

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also confirm for the latest KubeArmor version?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah it's working with the latest version of kubearmor V0.7.2
4

@Ankurk99
Copy link
Member

@HariVamsiK Can you please also explain how this PR fixes #919?

@Ankurk99
Copy link
Member

Previously KubeArmor supported only few LSM's. With the latest update in kernel version the support has been increased. This has been added to the support_matrix.md file as an update.

🤔 Where is this change made? Sorry but I couldn't understand this point
KubeArmor currenly supports AppArmor, BPF LSM (full) and SELinux (host based enforcement).

@Ankurk99
Copy link
Member

Thank you @HariVamsiK for verifying that the issue is resolved.
I think we can close this PR, as we already have Amazon Linux 2, support documented as part of support matrix.

@Ankurk99 Ankurk99 closed this Dec 13, 2022
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.

[VM] KubeArmor failing on Amazon Linux 2
2 participants