Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xujiajiadexiaokeai/ebpf-kube-agent
A eBPF program deployer for kubernetes clusters
https://github.com/xujiajiadexiaokeai/ebpf-kube-agent
agent cilium-ebpf ebpf kubernetes
Last synced: 6 days ago
JSON representation
A eBPF program deployer for kubernetes clusters
- Host: GitHub
- URL: https://github.com/xujiajiadexiaokeai/ebpf-kube-agent
- Owner: xujiajiadexiaokeai
- Created: 2022-09-20T03:49:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-19T11:04:35.000Z (over 1 year ago)
- Last Synced: 2024-11-24T12:53:02.905Z (29 days ago)
- Topics: agent, cilium-ebpf, ebpf, kubernetes
- Language: Go
- Homepage:
- Size: 1.01 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[WIP]ebpf-kube-agent
---`ebpf-kube-agent` is a tool that uses [cilium/ebpf](https://github.com/cilium/ebpf) as an ebpf program deployer to deploy ebpf programs on Kubernetes nodes and collect data.
# Features
- [X] Support deploying ebpf programs on Kubernetes nodes
- [ ] Support collecting data from ebpf maps
- [ ] Support sending data to Prometheus
- [ ] Support customizing ebpf programs and maps# Design
The tool consists of three parts: a CLI client, a manager and an agents group.The CLI client is used to interact with the manager, such as deploying ebpf programs, querying data, etc.
The manager is deployed as a Deployment with one replica. It acts as a gRPC server that receives data from agents and exposes them as Prometheus metrics.
The agent is deployed as a DaemonSet on each node. It is responsible for loading and attaching ebpf programs to hooks, creating and managing ebpf maps, collecting data from maps periodically, and sending data to manager via gRPC.
# Usage
## Prerequisites
A Kubernetes cluster with version >= 1.18Linux kernel version >= 5.4 with BTF enabled
Go version >= 1.16
clang/llvm version >= 11
## Installation
**TODO**