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(bpf,core,feeder,monitor): improve performance and owner only handling #1491

Merged
merged 3 commits into from
Nov 14, 2023

Conversation

daemon1024
Copy link
Member

We leveraged CRI Storage mounts to stat owner information from container fs, now we extract that information from eBPF eliminating the need of reading/mounting containerfs

Purpose of PR?:

Fixes #1178

Does this PR introduce a breaking change?
No

If the changes in this PR are manually verified, list down the scenarios covered::
CI Pass will validate this

Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs

Checklist:

  • Bug fix. Fixes #
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • PR Title follows the convention of <type>(<scope>): <subject>
  • Commit has unit tests
  • Commit has integration tests

@daemon1024
Copy link
Member Author

TODO: Remove CRI Storage mounts from deploygen and Operator.

@daemon1024 daemon1024 force-pushed the enhance-owneronly branch 2 times, most recently from 58bbf4b to 94e71bc Compare November 1, 2023 19:54
@daemon1024 daemon1024 force-pushed the enhance-owneronly branch 2 times, most recently from 61481f4 to 23d83aa Compare November 8, 2023 13:44
@daemon1024 daemon1024 changed the title feat(bpf,core,feeder): improve owner only handling feat(bpf,core,feeder,monitor): improve performance and owner only handling Nov 9, 2023
@daemon1024 daemon1024 force-pushed the enhance-owneronly branch 2 times, most recently from 6873eb3 to 2fc54a5 Compare November 10, 2023 13:29
We leveraged CRI Storage mounts to stat owner information from container fs, now we extract that information from eBPF eliminating the need of reading/mounting containerfs

Signed-off-by: daemon1024 <barun1024@gmail.com>
…loops

Signed-off-by: daemon1024 <barun1024@gmail.com>
Signed-off-by: daemon1024 <barun1024@gmail.com>
Copy link
Contributor

@nyrahul nyrahul left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@Ankurk99 Ankurk99 left a comment

Choose a reason for hiding this comment

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

LGTM!

@Ankurk99 Ankurk99 merged commit 7619a8d into kubearmor:main Nov 14, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

Improve handling of ownerOnly rules
3 participants