Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update documentation to install latest version of bcc #611

Merged
merged 1 commit into from
Feb 11, 2022

Conversation

slayer321
Copy link
Contributor

Signed-off-by: slayer321 sachin.maurya7666@gmail.com
fix #609

@@ -4,8 +4,10 @@ This recipe explains how to use KubeArmor directly on VM/Bare-Metal host and was

## Download and Install KubeArmor

1. Download the [latest release of KubeArmor](https://github.com/kubearmor/KubeArmor/releases)
2. Install KubeArmor `sudo apt install ./kubearmor_${VER}_linux-amd64.deb` ... where VER is the kubearmor release version. This will automatically install the required dependencies.
1. Install latest bcc from [source](https://github.com/iovisor/bcc/blob/master/INSTALL.md#source), based on the linux distribution you are using.`version 0.21.0 or greater`
Copy link
Member

Choose a reason for hiding this comment

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

We are yet to make a new release, but after our next release bpfcc-tools are automatically installed in our deb package! We would still need folks on ubuntu 18.04 to install BCC from source but I wouldn't suggest adding it as a step. Rather it would be better add a note/blockquoute after the second point stating

We automatically install bpfcc-tools with our package, your distribution might have an older version of BCC so consider installing BCC from source in case of errors...

Can improve the wording. But something in line with this is perhaps better imo.

@daemon1024
Copy link
Member

Thanks a lot for the PR! Left a comment in review :)

Copy link
Member

@daemon1024 daemon1024 left a comment

Choose a reason for hiding this comment

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

One minor nit and please squash the commits into a single one and We are good to go :D

Comment on lines 10 to 11
##### Note:
We automatically install `bpfcc-tools` with our package, your distribution might have an older version of BCC so consider installing BCC from [source](https://github.com/iovisor/bcc/blob/master/INSTALL.md#source) in case of errors.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
##### Note:
We automatically install `bpfcc-tools` with our package, your distribution might have an older version of BCC so consider installing BCC from [source](https://github.com/iovisor/bcc/blob/master/INSTALL.md#source) in case of errors.
> Note: We automatically install `bpfcc-tools` with our package, your distribution might have an older version of BCC so consider installing BCC from [source](https://github.com/iovisor/bcc/blob/master/INSTALL.md#source) in case of errors.

Let's use a blockquote

Signed-off-by: slayer321 <sachin.maurya7666@gmail.com>
Copy link
Member

@daemon1024 daemon1024 left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@daemon1024 daemon1024 requested a review from nyrahul February 11, 2022 01:57
@nyrahul nyrahul merged commit 567631a into kubearmor:main Feb 11, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update documentation to install latest version of bcc
3 participants