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

Update README.md #35

Merged
merged 1 commit into from
Aug 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,11 @@ Available Commands:

- Load all eBPF programs managed by Network Policy Agent

```
./aws-eks-na-cli ebpf progs

Example:
```

./aws-eks-na-cli ebpf progs
Programs currently loaded :
Type : 26 ID : 6 Associated maps count : 1
Expand All @@ -110,11 +111,12 @@ Type : 3 ID : 57 Associated maps count : 3
```

- Load all eBPF maps managed by Network Policy Agent


```
./aws-eks-na-cli ebpf maps

Example:
```

./aws-eks-na-cli ebpf maps
Maps currently loaded :
Type : 2 ID : 45
Expand All @@ -126,11 +128,12 @@ Keysize 16 Valuesize 1 MaxEntries 65536
```

- Print Map contents by ID


```
./aws-eks-na-cli ebpf dump-maps <Map-ID>

Example:
```

./aws-eks-na-cli ebpf dump-maps 40
Key : IP/Prefixlen - 192.168.61.236/32
Value :
Expand All @@ -147,10 +150,11 @@ Endport - 0
```

- Load all eBPF related programs and maps managed by Network Policy Agent


```
./aws-eks-na-cli ebpf loaded-ebpfdata

```
Example:
./aws-eks-na-cli ebpf loaded-ebpfdata
pinPathName: busybox-deployment-77948c5466-default_handle_egress
PinPath: /sys/fs/bpf/globals/aws/programs/busybox-deployment-77948c5466-default_handle_egress
Expand Down
Loading